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

x
?
Solved

open a file

Posted on 1998-06-05
3
Medium Priority
?
224 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

650 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