Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disk Size
Message
 
 
To
13/03/2000 08:37:48
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00344897
Message ID:
00344948
Views:
17
>OK.
>
>You've answered what I wanted to know about large drives, thanks.
>
>Now that you mention the performance issue, where does CONFIG.FPW need to be, and what do I need to populate it with, in order to store temp files locally?
>
>Kev
Hi Kevin,
Add the following to a CONFIG.FPW file:
sortwork = C:\SOMEDIRECTORY\
progwork = C:\SOMEDIRECTORY\
editwork = C:\SOMEDIRECTORY\
tmpfiles = C:\SOMEDIRECTORY\

Then in the Text files section of your project, add CONFIG.FPW. The file will be compiled into your EXE. Or you can just distribute it with your EXE in the same directory.

*NOTE*
This can turn into a major problem if the directory you specify doesn't exist. The EXE won't run.

I ran into this problem some years ago developing a messaging system for the Navy. Networks were very slow back then compared with local hard drives so we specified a directory on the C: drive. We were wrong. Not only did a particular installation not have the directory we specified, but they didn't have a C: drive. Due to security reasons, all the systems were diskless so our great application bombed. Just some things to kep in mind.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform