Only one instance is load

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
I would like to know the way or method to make my win appl. to have only
one instance on a client machine.
(i.e. a user cannot start multiple win application of my MyApp.exe by
click it multiple timessss)

Any way to do it properly in VS.net 2005 or 2003?
Thanks a lot.
 
I would like to know the way or method to make my win appl. to have
only one instance on a client machine.
(i.e. a user cannot start multiple win application of my MyApp.exe by
click it multiple timessss)

Any way to do it properly in VS.net 2005 or 2003?

VS.NET 2002/2003:

Check out the code and links here (just ignore the German text):

<URL:http://dotnet.mvps.org/dotnet/code/application/#SingleInstance>

VS 2005:

In VB, select the appropriate checkbox in "My Project".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top