P
paul
I have a file type that is going to be associated with my
visual basic application and i want the user to be able
to double click on a file of said type and have it launch
the program and load the file. I know there are certain
keys in the registry that i have to create and/or edit.
I have located them, namely HKEY_CLASSES_ROOT\.stdf and
HKEY_CLASSES_ROOT\stdf_auto_file\shell\open\command
The default value for that last key is the path to my
application followed by "%1". I thought that this would
take the file that was double clicked and pass it to my
program but on inspection of the
Environment.GetCommandLineArgs() I found that only the
path to the calling program is getting passed.
Is there a problem with my registry keys or my visual
basic program that needs to be addressed. Any help is
greatly appreciated.
Thanks
-Paul
visual basic application and i want the user to be able
to double click on a file of said type and have it launch
the program and load the file. I know there are certain
keys in the registry that i have to create and/or edit.
I have located them, namely HKEY_CLASSES_ROOT\.stdf and
HKEY_CLASSES_ROOT\stdf_auto_file\shell\open\command
The default value for that last key is the path to my
application followed by "%1". I thought that this would
take the file that was double clicked and pass it to my
program but on inspection of the
Environment.GetCommandLineArgs() I found that only the
path to the calling program is getting passed.
Is there a problem with my registry keys or my visual
basic program that needs to be addressed. Any help is
greatly appreciated.
Thanks
-Paul