not sure if this is possible
How can I tell an *already running* instance of internet explorer to open a given file?
********
I am not the Iraqi information minister.
GSACP : GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!
Take the file, and drag&drop it to IE?
I think Windows is even clever enough, that if you doubleclick on a .html and there is already a IE-Instance open, it''ll re-use this one. Or maybe use the file > open... dialog?
I think Windows is even clever enough, that if you doubleclick on a .html and there is already a IE-Instance open, it''ll re-use this one. Or maybe use the file > open... dialog?
The windows title is probably your best bet. Although it is not perfect, it is simple and effective.
No I mean I want my program to send the command.
********
I am not the Iraqi information minister.
GSACP : GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!
********
I am not the Iraqi information minister.
GSACP : GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!
use
ShellExecute(HWND,"some_text",file_to_execute,NULL,NULL,0);
you can find better explanation from win32 api documentation.
ShellExecute(HWND,"some_text",file_to_execute,NULL,NULL,0);
you can find better explanation from win32 api documentation.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement