Click here to Skip to main content
15,741,818 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everybody,
I am in need of developing an application which stores data to serialized streams.
A good example is Microsoft word. Where you create a word document and save it on disk-once you click on the saved document, Microsoft word will automatically open and display the contents of the file.

Therefore, i also need to be able to launch my application by just clicking on the file i created through serialization using the same application.

Any suggestions to start me off or web link to useful resources is highly welcomed. Thank you
Posted

1 solution

Google is your friend: It's called "Associating an application with a file extension" and there are a couple of ways to do it. Normally, you'd do it as part of your installation process so that it's all set up when your app is prepped to run on the system, but there are ways to do that in your application as well.
Google "associate my app with a file type"[^] should give you plenty of examples.
 
Share this answer
 

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