After I save a file in a folder with correct extension, when I go back and look at it, the file is unrecogniza开发者_运维知识库ble to the application. The file association appears to be lost.
I want Windows to be able to recognize all files with a particular extension (*.sp) with my application. How do I do that? and How do I implement that in my VS deployment project.
Deployment and Associations
The link includes this text:
The deployment tools in Visual Studio include a File Types Editor, which allows you to specify document types and associate them with file extensions. In addition, you can specify the verbs or actions for each document type and specify MIME types for the document types for use in browsers. For more information, ...
So, I guess it's exactly what you need. HTH
http://developer.qt.nokia.com/wiki/Assigning_a_file_type_to_an_Application_on_Windows
精彩评论