I'm developing an application that will print documents without any user interaction. This is to be done by reading the registry entries under HKEY_CLASSES_ROOT\<document type>\shell\print and HKEY_CLASSES_ROOT\<document type>\shell\printto.
I'm trying to find out what are the standard subkeys and variables under these sections without any luck. I realize that e.g. the document type "Word.Document.8" has both a "command" and a "ddeexec" subkey while some other document types has no "ddeexec" sub key.
Do you know where to find information on specifications on what is the standard regarding subkeys under HKEY_CLASSES_ROOT\<document type>\shell?
I'd also value info on how these keys are to be used.
If Use DDE is checked, then the ddeexec subkey reflects the value in the DDE message subkey. You can probably figure out the other subkeys and their values by looking at what is set within your system.
I'm not sure if all settings are the same for all versions of Windows (3.1, 95, NT, 98, etc.), so be careful.
You may also find more information in the book (now out of print):
Using the Windows 95 Registry : Special Edition
Jerry Honeycutt. QUE. ISBN 0789707853
or the book:
Windows Nt Registry Guide
Weiying Chen, Wayne Berry. Addison-Wesley. ISBN 0201694735