Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is VFP Running?
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01428120
Message ID:
01428121
Vues:
134
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform