Click here to Skip to main content
15,867,308 members
Articles / Programming Languages / C#
Alternative
Tip/Trick

Run only one instance from you program

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
28 Sep 2011CPOL 10.4K   1
No need to write piece of code in Visual Studio 2008 and greater for single instance of your program or application. Go to the project properties and checked the check box "Make single instance application".
No need to write piece of code in Visual Studio 2008 and greater for single instance of your program or application. Go to the project properties and checked the check box "Make single instance application".

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) ForeVision Business Solutions
Pakistan Pakistan
Software Engineer | System Integrator | Architect

Muhammad Shahid Farooq is a software engineer with having experience of 9+ years of working on ADO.Net, C#.Net, VB.Net, VB6/VBA, SQL Server, Oracle, MySQL and other latest technologies. He holds Bachelor’s degree in Computer Science from the University of Central Punjab, Lahore, Pakistan. To contact Shahid, email him at muhammadshahidfarooq@yahoo.com.

Comments and Discussions

 
QuestionApply only in VB Pin
V.S.Saini18-Oct-12 20:26
professionalV.S.Saini18-Oct-12 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.