﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Speed up application startup</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 23 May 2026 12:24:18 GMT</lastBuildDate><ttl>20</ttl><item><title>Speed up application startup</title><link>http://forum.strataframe.net/FindPost14868.aspx</link><description>Is there a recommended way to do that?&amp;nbsp; I'm using both Strataframe and VFP through UDP.&amp;nbsp; It is a little slow at startup especially on slow machines (duh). &lt;/P&gt;&lt;P&gt;But how would you recommend starting up app and login screen at same time? If login fails, just close entire app.&amp;nbsp; But if succeeds everythings allready there (or almost). &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;P&gt;P.S. continue to love working with your&amp;nbsp;framework especially new version and now also the security editor and ddt. Saves tons of time.:)</description><pubDate>Thu, 13 Mar 2008 19:56:42 GMT</pubDate><dc:creator>Marcel Heitlager</dc:creator></item><item><title>RE: Speed up application startup</title><link>http://forum.strataframe.net/FindPost14874.aspx</link><description>This question is something that we tackle during our training class...this is a very deep question.&amp;nbsp; The answer is, "Yes."&amp;nbsp; But knowing exactly where to start, especially in regards to your application is more difficult.&lt;/P&gt;&lt;P&gt;First, you should create a loadup sequence at the start of your application.&amp;nbsp; This should show a Splash screen and work on a thread if you can manage that.&amp;nbsp; You can then perform different tasks on different threads (i.e. perform any initialization tasks).&amp;nbsp; Once the once all of your pre-loading work is done, then you can show the login screen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the login is successful, you should really only need to loadup the VFP EXE and start your UDP session.&lt;/P&gt;&lt;P&gt;The key is to learn where your slowness is and then see if you can refactor your code to be more efficient, and then start using threads to remove the "slowness" from the end-users perception.&amp;nbsp; We have learned that people will wait for the application to start...but once it is started they want it to be fast :)&lt;/P&gt;&lt;P&gt;[quote]P.S. continue to love working with your&amp;nbsp;framework especially new version and now also the security editor and ddt. Saves tons of time[/quote]&lt;/P&gt;&lt;P&gt;Thank you very much, we truly appreciate these comments!</description><pubDate>Thu, 13 Mar 2008 19:56:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>