Archived

This topic is now archived and is closed to further replies.

Greg K

Easy Question

Recommended Posts

How do I open up a file from my program. Basically I want to run a program (IExplorer) from my program. Thanks. -Greg Koreman

Share this post


Link to post
Share on other sites
If you want to open a web page in your default browser, do this:

  
ShellExecute(NULL,"open","http://www.somewhere.com",NULL,NULL,SW_SHOWNORMAL);


You can use exactly the same function to run an executable. Hope this helps

---------------

#define TRUE 0
#define FALSE 1
//MUAHAHAHAHAAAA!

Share this post


Link to post
Share on other sites