|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Does anyone no of a method of detecting if an application created using VB6.0 is currently running?
I basically need to detect on startup if the application is already running. Thanx |
|
#2
|
||||
|
||||
|
A bit of a hack admittedly – I'm not a VB guy – but you could write some data to a file, maybe "true" if the program is already running and change this to say "false" the file when the program closes?
If you were on *nix I would suggest looking for the programs PID, but I don't know of anything similar on Windows. Hope this helps, Mark. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Detecting if an Executable is running |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|