For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > February 2005 > instances









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author instances
sentinel

2005-02-22, 4:03 pm

how to prevent second instance of the program


actually i want to detect if the program is allready running and if so
give it focus else run program


Thanks
alpine

2005-02-22, 4:03 pm

On Tue, 22 Feb 2005 13:35:32 +0100, "sentinel" <support@elma.hr>
wrote:

>how to prevent second instance of the program
>
>
>actually i want to detect if the program is allready running and if so
>give it focus else run program
>
>
>Thanks



Have a look at the App Activate example at
http://www.mvps.org/vbvision/

HTH,
Bryan
________________________________________
____________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
alpine_don'tsendspam@mvps.org Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com