Re: singleton application :)

From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 10/21/04


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
> >
> >
>
>


Relevant Pages

  • Re: Video editing in Linux?
    ... However most software under linux is either well engineered or has ... >>if the code in linux were as poor as that in windows, ... You dont compiler userspace code for your kernel you ... Quite honestly, NTFS ...
    (alt.linux)
  • Re: Locked memory
    ... or dont know anything about. ... on Windows, and they all run like "a bat out of hell". ... Lets create some bitmap manipulation code, ... Teory in programming counts for NOP. ...
    (alt.lang.asm)
  • Re: Microsoft Legal Issues
    ... Windows updates will right? ... but you rat a customer out for having a backup copy and they ... odd how some corporations have rights the police dont. ...
    (microsoft.public.windowsxp.general)
  • Dear Patti
    ... Can I Load/Register Them into my Registry ?? ... for EXAMPLE I dont have ... Add Remove Windows Components ... When I log off and i go and log on the Adminstrator Account,, That Problem Is Not There!! ...
    (microsoft.public.windowsxp.newusers)
  • Re: NTFS problem
    ... I dont understand what to do. ... partition you want to check. ... reboot and before you can login to Windows. ... and wizards are measured by how many burnt fingers ...
    (microsoft.public.windowsxp.general)

Loading