Easy Question
How do I open up a file from my program. Basically I want to run a program (IExplorer) from my program. Thanks.
-Greg Koreman
If you want to open a web page in your default browser, do this:
You can use exactly the same function to run an executable. Hope this helps
---------------
#define TRUE 0
#define FALSE 1
//MUAHAHAHAHAAAA!
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!
^
Seriously f*cked formatting. Not my fault.
---------------
#define TRUE 0
#define FALSE 1
//MUAHAHAHAHAAAA!
Seriously f*cked formatting. Not my fault.
---------------
#define TRUE 0
#define FALSE 1
//MUAHAHAHAHAAAA!
or use the system command:
System("C:\\Program Files\\Explorer\\IExplorer.exe");
_____________________________________________________
ICQ #: 149510932
Google - OpenGL - DirectX - Windows Guide Network - MSDN - Symantec Virus Info
"Imagination is more important than knowledge." - Albert Einstein
System("C:\\Program Files\\Explorer\\IExplorer.exe");
_____________________________________________________
ICQ #: 149510932
Google - OpenGL - DirectX - Windows Guide Network - MSDN - Symantec Virus Info
"Imagination is more important than knowledge." - Albert Einstein
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement