Click here to Skip to main content
15,891,812 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Hi All

I want to know how to associate a new file type with c# code
like i make i new file tye
file.bw
Now i want to associate with this file type with my c# code
if i click on this file any where in my pc then this is going to be open in my c# code

like text file or word file is opened

Thanks in advance
Posted
Comments
Prerak Patel 8-Aug-11 2:28am    
"open in my c# code"??! You mean, in IDE?
prog786 8-Aug-11 2:36am    
yup i mean in IDE

1 solution

This CodeProject article provides a solution: C# FileAssociation Class[^].

—SA
 
Share this answer
 
Comments
Kim Togo 8-Aug-11 8:12am    
Good link SA. My 5.
Sergey Alexandrovich Kryukov 8-Aug-11 8:31am    
Thank you, Kim.
--SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900