Solved

EnableShellOpen for a dialog application

Posted on 1998-07-25
2
327 Views
Last Modified: 2013-11-20
I made a dialog application that reads some data from a file with extention *.abc then excute some action.

I want to register the extention *.abc so that my application can be opened and excuted from explorer (by double click on the file name *.abc) or by using shellexecute... from another application.

I know how to do that in case of Doc-View application by simply adding the abc extention to the resource file and adding the following to my initinstance function:
      //Enable DDE execute open
      EnableShellOpen();
      RegisterShellFileTypes();

Now how can I do the same for a dialog application ( which by default does not have a document class)?
0
Comment
Question by:khaledo
2 Comments
 
LVL 2

Accepted Solution

by:
SamratAshok earned 100 total points
ID: 1319760
Add following entries to registry.

\\HKEY_CLASS_ROOT\.abc\Shell\Open\Command

and set the default value to your application executables.

I hope you know how to use registry functions.
0
 

Author Comment

by:khaledo
ID: 1319761
yes it worked
Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeatEnd java challenge 42 85
Expand data scrubbing tool 13 35
notReplace  challenge 53 142
bigDiff challenge 17 126
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 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