?
Solved

open a file

Posted on 1998-06-05
3
Medium Priority
?
222 Views
Last Modified: 2010-04-01
I have a list of files which are in a dialog box.  when the user double clicks the files, I want to bring up the app associated with the file and load that file into that app -- not unlike exploerer does when you double click a file.  How do I do that?  I'd rather not go digging through the registy to find the information I need.  any solution must work on Windows NT Worstation and Windows 95.
0
Comment
Question by:ElmerFud
[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
  • 2
3 Comments
 
LVL 1

Author Comment

by:ElmerFud
ID: 1165291
PS, i'm using Visual C++ 5.0
0
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1165292
The best way would be to use ShellExecute().

0
 
LVL 1

Author Comment

by:ElmerFud
ID: 1165293
Thank you very much sir -- you are a gentleman and a scholar.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

765 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