Re: singleton application :)
From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 10/21/04
- Next message: Kevin Yu [MSFT]: "RE: envdte.dll with c# utility"
- Previous message: Stephen: "Array question. Coding help required"
- In reply to: Ignacio Machin \( .NET/ C# MVP \): "Re: singleton application :)"
- Next in thread: Stoitcho Goutsev \(100\) [C# MVP]: "Re: singleton application :)"
- Reply: Stoitcho Goutsev \(100\) [C# MVP]: "Re: singleton application :)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 09:50:34 -0400
Hi,
The answer does exist in the FAQs :
http://www.yoda.arachsys.com/csharp/faq/#one.application.instance
It is in the .NET Core section and not in the Windows Forms section..
Sorry for the confusion.
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote in message news:eXhMvv2tEHA.1336@tk2msftngp13.phx.gbl... > 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: Kevin Yu [MSFT]: "RE: envdte.dll with c# utility"
- Previous message: Stephen: "Array question. Coding help required"
- In reply to: Ignacio Machin \( .NET/ C# MVP \): "Re: singleton application :)"
- Next in thread: Stoitcho Goutsev \(100\) [C# MVP]: "Re: singleton application :)"
- Reply: Stoitcho Goutsev \(100\) [C# MVP]: "Re: singleton application :)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading