Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple resource files
Message
From
12/08/1999 12:26:48
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252691
Message ID:
00253057
Views:
22
>I'm just starting another session of vfp. The errors are expected and trapped when I attempt to open the already in use resource file. I have 3 resource files for 3 sessions. my vfp is local. -jack

Try starting with RESOURCE = OFF in your CONFIG.FPW. make a template FOXUSER file that holds your definitions. During startup, check to see if you can get exclusive access to the FOXUSER file, issue a SET RESOURCE TO FOXUSER; if you can, great, otherwise, use the template file, make a copy of it with a new name (come up with a naming convention) and SET RESOURCE TO copied file.

If the content of FOXUSER is static and won't be changed, you can make FOXUSER.DBF and FOXUSER.FPT read-only; if the FOXUSER file is found to be read-only, it can be shared among many sessions.
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