Re: singleton application :)
From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 10/21/04
- Next message: Chris Ballard: "RE: Events"
- Previous message: Chris Ballard: "RE: Converting byte[] to string"
- In reply to: Luca: "singleton application :)"
- Next in thread: Ignacio Machin \( .NET/ C# MVP \): "Re: singleton application :)"
- Reply: Ignacio Machin \( .NET/ C# MVP \): "Re: singleton application :)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 08:46:05 -0400
Hi,
Search in the archives, this is discussed from time to time here , you
could use either a Mutex, named pipe, or attach to a particular port ( not
recommended ) or search by a particular process/windows name.
Go to google to search for code.
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation Pd: Jon , I think this could be a good thing to include in the FAQ , I may do a compilation of the differents methods. let me know .. "Luca" <luca@rewind.com> wrote in message news:%23YZUdn2tEHA.3056@TK2MSFTNGP10.phx.gbl... > Hello, > > i would like that my windows form application does not start if it has > already been run. Do you have any code example for doing this in c#? I dont > know which method it is best to be used. I would do a check in a routine > called at the application's startup, but i dont know what to check :) > > Thanks in advance, > Luca > >
- Next message: Chris Ballard: "RE: Events"
- Previous message: Chris Ballard: "RE: Converting byte[] to string"
- In reply to: Luca: "singleton application :)"
- Next in thread: Ignacio Machin \( .NET/ C# MVP \): "Re: singleton application :)"
- Reply: Ignacio Machin \( .NET/ C# MVP \): "Re: singleton application :)"
- Messages sorted by: [ date ] [ thread ]