Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acctually Foxpro 2.6 DOS, only running one instance
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00148447
Message ID:
00148465
Views:
27
Hi Fred,

We usually created a File on the way in, and removed the file on the
way out. Upon Entering the Program, we look for IF FILE('FILENAME.TXT')
and Cancel if it exists.

That way it doesnt matter how many Opens / Closes Exist...

HTH!
Bob :-)

>I have a client with numerous Foxpro 2.6 DOS applications. They want to limit the users to only running one instance of the programs. These engineers will have the same program open 8 or 9 times and wonder why their computer is running slow. I know how to do it in windows and the method I use for DOS won't work.
>
> Unfortunately, CLOSE ALL is spread throughout the code of all the programs so using a low level file open/create to make a file that only exists during execution of the program won't work. This is the method I've used in the past.
>
>Help!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform