Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is VFP Running?
Message
 
 
To
07/10/2009 17:02:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01428120
Message ID:
01428121
Views:
135
This message has been marked as the solution to the initial question of the thread.
>Using network i have a program that locates the other office computers and dumps new files into their DB directory. If someone is using VFX then i get the error message 1705 file access is denied.
>
>Is there a way I can test the computer to determine if VFX is running BFORE i start the dump.? and is there a simple line of code i can use to shut it down.
>
>here is my test for the pathway being open (to determine if the computer is turned on)
>
>@ 2, 12 Say "Looking for Directory - Please Wait"
> If File(' \\Room212\db\prg\menu\sample.dbf')
> Else
> Wait Window "Directory Room212 not found "
> return
> endif
>
>thanks
>
>k

Karen,

Check http://berezniker.com/content/pages/visual-foxpro/check-if-exe-running-and-optionally-terminate-it
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform