Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing to a CFG file.
Message
From
10/12/1997 11:03:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Writing to a CFG file.
Miscellaneous
Thread ID:
00065001
Message ID:
00065001
Views:
80
VFP 3.0
I'm using VFP as a wrapper aroung a DOS app. There are 2 users that will be able to access this program in a network. Prior to running the app, I alter the configuration file and change the printer type based on the user. Unfortunately there is a considerable time lag between the time the CFG file is altered and when the app actually loads the file. What is the best way to prevent the other user from altering that file in that interim?


Here's the problem. The config file does not get loaded until after I make a menu selection within the DOS app. In other words I am already in the DOS app when I need to make this menu selection. This is the point when I would unlock the table. I'm not sure how to issue a VFP command from within the DOS app. I would have to wait until they exit the DOS app to unlock the table. This is what I am trying to avoid. I
want to be able enter info into the DOS app simultaneously. Thanks in advance for any information you can give me.
Reply
Map
View

Click here to load this message in the networking platform