File Extension Association, Add new action to file types, and Handle files opened from Explorer
Posted on 1997-12-02
This is a three part question.
I am writing a program, in which I must be able to handle .txt files, and a file type the program creates, .cod
1. How do I have setup automatically associate .cod files with my program so that when double-clicked on, they launch my program?
2. How do I have setup add an action to .txt files, so that when they are right-clicked on, an option appears that launches my program if selected?
3. Once I accomplish that, how do I make my program handle the files that are opened with it? I manually associated .cod files with my program, and when double-clicked, my program is launced, but no actions occur.