>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