Saving application specific save files C# visual studio
I have created an application in C# with visual studio. The 开发者_Go百科application has a Save dialog box which saves to an xml file and a Load dialog box which loads the xml data into the application.
This all works well but what I really want to do is when the application saves the file it creates an application specific file that if the user double clicks it, it will open the application and load the data into it kinda like if you double click a .psd file it will open photoshop and load the file.
Any help would greatly be appreciated!
Thanks so much, Airlok
You could save the file with a custom extension and register it. See this question.
精彩评论