Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance Issues - Starting Application
Message
From
29/07/1999 15:01:24
 
 
To
29/07/1999 14:56:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00246673
Message ID:
00247884
Views:
31
>Ed,
>
>I was able to find a way around the slow performance when starting my VFP app. I create a small executable with one line of code "QUIT". Then I modified the WIN.INI file, and under [windows] I modified run= to include my small executabe. When the system boots it appears to cache VFPRUN.EXE. I've timed the boot process and there is only a slight additional delay when booting. Most importantly my app that took 15 - 20 seconds to load, now loads in 4 - 5 seconds.
>

Do yourself a favor; don't use the RUN= line in WIN.INI because of portability issues. Either drop a shortcut to the app in the StartUp folder, or create a RUN entry in the registry to start things for you.

>Thanks for your help.
>
>Mark Parker
>MAP Software, Inc.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform