Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make an .exe runnable to one person at a time?
Message
From
31/08/2005 18:37:45
 
 
To
31/08/2005 17:52:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01045697
Message ID:
01045700
Views:
27
This message has been marked as the solution to the initial question of the thread.
>Basically I have an exe on a network drive and I want it to be run by only one person at a time. Now when you try to copy over an exe that is in use on another computer, the OS tells you so. So I figured there must be some command that would tell me if the program is in use anywhere else. I could put that command at the beginning of the program to and have it exit if the exe is being run by two people. Is any of this possible?

USE a table EXCLUSIVELY. If you can't open that table without error, then someone else is using the .EXE, so exit.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform