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

starting a file or url

Using the "start" command in a dos session in Windows95 you can start files or urls (http://...). I want to do exactly that from MS C++. But how?
0
holz
Asked:
holz
  • 2
1 Solution
 
nietodCommented:
Try ShellExecute() or ShellExecuteEx().
0
 
nietodCommented:
These commands allow you to open, print, or explore a specified document file.  What you want to do is open the file.  The command may fail if windows cannot figure out what application to associate with the file (based on the file's extension.)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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