I have used ModifyRegistryKey() to set up a file association between the file extension (.bcf) and our application (classpharmer.exe). In summary:
HKEY_CLASSES_ROOT\.bcf : Bioreason.File
HKEY_CLASSES_ROOT\Bioreason.File\shell\open\comman d : %AppDir%\classpharmer.exe "%1"
HKEY_CLASSES_ROOT\Bioreason.File\DefaultIcon : %AppDir%\classpharmer.exe,0
Everything works fine EXCEPT when I click on a file, the short (i.e. 8.3) name is used rather than the long name. Can anyone share some insight on how to get the application to launch using the long filename?
Thank you,
Frank LaFond
HKEY_CLASSES_ROOT\.bcf : Bioreason.File
HKEY_CLASSES_ROOT\Bioreason.File\shell\open\comman d : %AppDir%\classpharmer.exe "%1"
HKEY_CLASSES_ROOT\Bioreason.File\DefaultIcon : %AppDir%\classpharmer.exe,0
Everything works fine EXCEPT when I click on a file, the short (i.e. 8.3) name is used rather than the long name. Can anyone share some insight on how to get the application to launch using the long filename?
Thank you,
Frank LaFond
Comment