Solved

open a file

Posted on 1998-06-05
3
205 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
  • 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 50 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

792 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