Solved

print and printto registry entries?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

22 Experts available now in Live!

Get 1:1 Help Now