Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting ProcessID of currently running program
Message
De
03/08/2009 17:04:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01415896
Message ID:
01415962
Vues:
41
THANKS!!

bob

>>We have an application in FoxPro that creates a Local Database to implement an offline-view of an SQL server database. The problem we have occasionally is that the user will have multiple copies of our program running and will not be able to successfully get the database offline if that is the case.
>>
>>We'd like to kill the process of any "extraneous" copies of our software without killing the currently running version. I've downloaded the kill process programs that are here on this site and they seem to work just fine. Now my only dilemma is how do I determine which processID represents the one I'm currently running so I don't kill it?
>>
>>Thanks in advance for any help you can provide.
>>
>>Bob
>
>Try
>
>Application.ProcessID
>
>from
>
>http://news2news.com/vfp/index.php?group=-1&function=222
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform