Solved

starting a file or url

Posted on 1998-04-18
2
186 Views
Last Modified: 2010-04-10
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
Comment
Question by:holz
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 100 total points
ID: 1161915
Try ShellExecute() or ShellExecuteEx().
0
 
LVL 22

Expert Comment

by:nietod
ID: 1161916
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

Industry Leaders: 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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

756 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