Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to check in-use of EXE
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01276237
Message ID:
01276238
Views:
22
Peter

I usually try to open one of the apps shared tables as exclusive - if I get an error the app is in use

I take this a stage further - all users have temp files on their cdrives which they open as exclusive - I poll round the pcs in the network attempting to open one of their temp files as exclusive - error = user in app

Then a form diplays the results with a colour box next to each user name - green = not using app, red = using app, blue = pc not on line

Our ops pepole use this screen at night to make sure all are out of apps so that overnight runs can work

HTH

Colin

>Hi all,
>
>What is the fastest way to check whether an EXE is in use?
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform