A
Athena
Hello,
I run a program from within a VB program using shell. After the first
instance of the program, before I call it again, I need to kill it. How can
I do it so that only one instance of the program runs? Thank you.
Athena
Like this:
If DebugFlag = False Then
Kill "AProgram" ' if it is running if not
Shell "AProgram test", vbNormalFocus
End If
I run a program from within a VB program using shell. After the first
instance of the program, before I call it again, I need to kill it. How can
I do it so that only one instance of the program runs? Thank you.
Athena
Like this:
If DebugFlag = False Then
Kill "AProgram" ' if it is running if not
Shell "AProgram test", vbNormalFocus
End If