Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting ProcessID of currently running program
Message
From
03/08/2009 12:51:03
 
 
To
03/08/2009 11:34:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01415896
Message ID:
01415906
Views:
75
>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


would this work ? http://msdn.microsoft.com/en-us/library/ms683180(VS.85).aspx
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform