• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

open a file

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
ElmerFud
Asked:
ElmerFud
  • 2
1 Solution
 
ElmerFudAuthor Commented:
PS, i'm using Visual C++ 5.0
0
 
Tommy HuiCommented:
The best way would be to use ShellExecute().

0
 
ElmerFudAuthor Commented:
Thank you very much sir -- you are a gentleman and a scholar.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now