file type associations
-
if i make a program that should handle a certain file type (for example, i want to make another notepad that should handle files of extension .txt), what do i have to do to associate that file type (in my case .txt) with my own program (in my case, let's say GNotepad.exe) so that by double-clicking a .txt file in the explorer it should open my notepad instead of the classic one ? oh, and i would reaaaaaaly apreciate if you have an example of source code. thanX a lot :) ...
-
if i make a program that should handle a certain file type (for example, i want to make another notepad that should handle files of extension .txt), what do i have to do to associate that file type (in my case .txt) with my own program (in my case, let's say GNotepad.exe) so that by double-clicking a .txt file in the explorer it should open my notepad instead of the classic one ? oh, and i would reaaaaaaly apreciate if you have an example of source code. thanX a lot :) ...
I think this article explains the solution pretty well (if you're using MFC): http://www.codeproject.com/shell/cgfiletype.asp[^] Joel Holdsworth Wanna give me a job this summer? Check out my online CV and project history[^] - now available in MSWord format![^]