Solved

EnableShellOpen for a dialog application

Posted on 1998-07-25
2
326 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

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

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 42
Login Script to Copy Folders 12 34
how do i create updater to My Activex application? 3 86
Making an alias 7 93
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 …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

17 Experts available now in Live!

Get 1:1 Help Now