|
-
Nov 19th, 2001, 03:35 AM
#1
Thread Starter
New Member
How can I check for my running program instance?
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.
-
Nov 19th, 2001, 03:42 AM
#2
Fanatic Member
Check app.hInstance
-
Nov 19th, 2001, 03:47 AM
#3
PowerPoster
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
-
Nov 19th, 2001, 03:52 AM
#4
Fanatic Member
Yeah,IT should be:App.Previnstance
I am so sleepy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|