Solved

starting a file or url

Posted on 1998-04-18
2
178 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 155
Socket Programming (Unix) 8 102
Best book to learn C++ 4 53
C++ mouse_event mouse look 7 25
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now