question about program's name in open-with dlg
-
My program edits text-based files full of nonsense. I finally cleared up my program's commandline args thing to open a file by double-clicking on the file (with the appropriate made-up extension belonging to it). However, when the user double-clicks on its file for the first time, and Windows asks the user what program to use to open the file (because Windows doesn't recognize the extension at first), my program has no name in the list! Please see this image: http://electrobrainleonard.googlepages.com/unnamedProgram.png[^] How do I get the dialog to have my program's name in it? By the way, I use csc.exe directly to compile it.
-Daniel Typing too fast fro my owngood
-
My program edits text-based files full of nonsense. I finally cleared up my program's commandline args thing to open a file by double-clicking on the file (with the appropriate made-up extension belonging to it). However, when the user double-clicks on its file for the first time, and Windows asks the user what program to use to open the file (because Windows doesn't recognize the extension at first), my program has no name in the list! Please see this image: http://electrobrainleonard.googlepages.com/unnamedProgram.png[^] How do I get the dialog to have my program's name in it? By the way, I use csc.exe directly to compile it.
-Daniel Typing too fast fro my owngood
-
I added that line, but didn't see a change, so I started digging around in my registry. I simply modified the line that was already there:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache] "
program path here"="
program's title or name"
And now it works fine. Thank you, though! I'm sure your way would have worked if I had done it in the first place and restarted or something...-Daniel Typing too fast fro my owngood