How can I check for my running program instance? Lets say I am running program prog1.exe, If I run it again, I want to have a messaga saying that the program is already running, How can Chech for this. Any hint is appretiated. Thanks.
Printable View
How can I check for my running program instance? Lets say I am running program prog1.exe, If I run it again, I want to have a messaga saying that the program is already running, How can Chech for this. Any hint is appretiated. Thanks.
Check app.hInstance :p
hi
App.Previnstance can be checked if u only want to give a msgbox but if u want to display the current running exe then u can use the code on this thread
http://www.vbforums.com/showthread.p...p.previnstance
Regards
Stuart
Yeah,IT should be:App.Previnstance :o
I am so sleepy