Setting File Open Attributes...
Posted on 2003-03-02
I've just made a nice little code-snippet storage program, basically Notepad with fewer features and a *.code extension...got everythign set up and running smoothly...but the file-type association "open" action refuses to load the text. If I use the "Open..." dialog in my program, it runs fine. But, if I just double click on a .code file, all it does is loads the Code Program, without the code itself. Again, the file is not corrupted. I have a file association, added through View>>Folder Options>>File Types...with one command, "open", pointed at the program's directory. Do I need to add a subroutine to my program's code? Or am I missing something with the file type declarations?