Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only one copy of exe is runing
Message
 
To
19/07/2001 13:49:31
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00532744
Message ID:
00532769
Views:
14
This message has been marked as the solution to the initial question of the thread.
>Hello
>
>How to force one exe of application runing at anytime?
>
>Thanks
>Mo

Do you mean 1 instance per computer or 1 instance for the LAN? If you mean 1 instance per computer, you can simply use:
if app.previnstance then
   Msgbox "Application is already running!!!"
   end
end if
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform