Solved

print and printto registry entries?

Posted on 1998-08-17
1
558 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now