Maintaining single instance application
        Posted  
        
            by Semas
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Semas
        
        
        
        Published on 2010-05-17T14:09:09Z
        Indexed on 
            2010/05/17
            14:10 UTC
        
        
        Read the original article
        Hit count: 188
        
c#
Hello. I have been working on this application of mine and got this problem. Running program through command line with different arguments opens different .exe process.
My question is how can i prevent from opening same file few times, and is it possible to send new command line arguments to already open instance of application.
Thanks.
© Stack Overflow or respective owner