Quote:
>How can I set the default action for a file type? i.e. the one that is used
>when you double click on a file in explorer. I've created a class to handle
>all my file type registrations, and one of my file types has 3 actions Open,
>Print and Compact. I need to know how to specify that the Open action should
>be the default, and the moment it seems random.
Wilka,
It appears to be the default text name in the shell entry. For
example, if I change the default TXT file association with Explorer to
be "Print", the HKEY_CLASSES_ROOT\txtfile\shell default value says
"print", and changing it back to "open" (or leaving it clear) sets it
back to Open.
Dave
----
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.