Solved

print and printto registry entries?

Posted on 1998-08-17
1
563 Views
Last Modified: 2013-12-03
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.
0
Comment
Question by:danandersson
1 Comment
 
LVL 2

Accepted Solution

by:
bernfarr earned 100 total points
ID: 1413571
You can experiment by using Explorer to change the File Type settings under View | Options. You'll find that the ddexec subkey, for instance, reflects what is set in the DDE Message window you will find by going to a specific file type and choosing Edit..., then selecting an Action and choosing the Edit... button below the actions.

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

0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question