HOWTO: Increase the Startup Speed of Visual FoxPro for WindowsID: Q147597
|
When Visual FoxPro for Windows starts, a certain amount of time is used to
search and load component files, to load help files, and to turn on certain
settings. This article lists suggestions for decreasing startup time.
Most of the ideas in this article work for both network and stand-alone
computers running FoxPro.
C:\VFP\VFP.EXE -cC:\OTHER\CONFIG.FPW
SET FOXPROWCFG = C:\OTHER\CONFIG.FPW
Here it is assumed that the Config.fpw file is located in the C:\Other
directory. Visual FoxPro searches for this file, so it is wise to make
the file easy to find.
RESOURCE = C:\OTHER\FOXUSER.DBF
_SPELLCHK = C:\OTHER\SHELLCHK.APP
_WIZARD = C:\OTHER\WIZARD.APP
NOTE: These files are normally stored in the Vfp directory.
_TRANSPORT = C:\Other\Transport.prg
_GENXTAB = C:\Other\Genxtab.prg
_BUILDER = C:\Other\Builder.app
_GENXTAB = ""
_BUILDER = ""
This increases the startup speed of Visual FoxPro because it doesn't
have to load these files into memory.
TMPFILES=C:\OTHER
EDITWORK=C:\OTHER
SORTWORK=C:\OTHER
PROGWORK=C:\OTHER
The last three items are not listed in the File Location tab reached by
clicking Options on the Tools menu. These have to be specified in the
Config.fpw file.
DOHISTORY = OFF
ESCAPE = ON
OPTIMIZE = ON
Visual FoxPro Installation Guide and Master Index book in Chapter 4 "Optimizing Your System" and Chapter 3 "Configuring Visual FoxPro."
Additional query words:
Keywords : kbVFp300 kbVFp500 kbVFp600 FxenvOptimize
Version :
Platform :
Issue type : kbhowto
Last Reviewed: August 9, 1999