[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

print and printto registry entries?

Posted on 1998-08-17
1
Medium Priority
?
577 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
[X]
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
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

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…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

656 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