Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Run only one instance from you program

By , 28 Sep 2011
Rate this:
Please Sign up or sign in to vote.
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".


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

About the Author

Muhammad Shahid Farooq
Software Developer (Senior)
Pakistan Pakistan
Software Engineer | System Integrator | Architect
Muhammad Shahid Farooq is a software engineer with having experience of 6+ 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

Comments and Discussions

QuestionApply only in VB PinmemberV.S.Saini18-Oct-12 20:26 

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

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

| Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 28 Sep 2011
Article Copyright 2011 by Muhammad Shahid Farooq
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid