Click here to Skip to main content
15,885,546 members
Articles / Desktop Programming / Windows Forms

Opening a Specific File Format with a Single Instance of an Application

Rate me:
Please Sign up or sign in to vote.
4.95/5 (20 votes)
22 Jun 2017CPOL5 min read 28.4K   507   34  
Associating and opening a specific file format with a single instance of a WinForms application
In this article, you will learn to associate an application with a file extension and when a file with this extension is double clicked on Windows Explorer, automatically run the application or use the already running instance and open the file in it.

Views

Daily Counts

Downloads

Weekly Counts

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) Freelance
Sweden Sweden
Experienced senior C# developer, sometimes codes in Java and C++ also. He designs and codes desktop applications (WinForms, WPF), windows services and Web APIs (WCF, ASP.Net MVC). He is currently improving his ASP.Net MVC and JavaScript capabilities. He acts as an architect, coder and trainer.
He is mostly experienced in Media Asset Management (MAM) applications, broadcasting sector and medical applications.

LinkedIn: www.linkedin.com/mustafa-kok/
GitHub: github.com/nthdeveloper
StackOverflow: stackoverflow.com/users/1844220/nthdeveloper

Comments and Discussions