Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

print and printto registry entries?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

829 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