General information
Category:
Windows API functions
Hi Christof.
I tried looking in HKEY_CURRENT_USER\Software\Classes\.jpg and there wasn't anything. I then tried HKEY_CLASSES_ROOT_USER\.jpg best I could get from there was that a .jpg file was known as a jpegfile. I then looked up HKEY_CLASSES_ROOT/jpegfile where I did find a PrintTo key, but it had no value of sub keys. The CLSID defined under jpegfile lead me to Microsoft HTML Document 6.0, which has even less to do with what's going on.
If I try all this on my XP machine it makes sense. HKEY_CLASSES_ROOT_USER\.jpg leads to HKEY_CLASSES_ROOT/jpegfile which has a Shell key which contains an Open option, which contains what I'd expect. On the server the Shell key is missing.
Ian Simcock.
>Hi Ian,
>
>>1) Why ShellExecute is not using the Default Verb , or
>
>That would happen if there's no default action associated with the file extension. In this case, ShellExecute() uses the first verb which might be "print". It could be that Explorer isn't using the first one, rather tries open and edit before resorting to something else.
>
>File associations are stored in HKEY_CURRENT_USER\Software\Classes.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only