|
-
September 3rd, 2003, 09:14 AM
#1
Invoke IE
In the About Dialog of an application software, the website of related information is shown. I would like to invoke IE to display this page automatically if clicked.
If we know where IE or other default web browser is, we could easily use WinExec or other functions to invoke it. The problem is I don't know where it is. Any other way to invoke the default browser?
-
September 3rd, 2003, 09:31 AM
#2
One way is to use Automation (start IE as an Automation server). A second way is to use ShellExecute() and just pass the URL - the shell will open it in the default browser. A third way is to open a dialog inside your application which uses the Browser ActiveX control to display the site.
-
September 3rd, 2003, 10:41 AM
#3
If you use:
::ShellExecute(NULL,NULL,"your page.html",NULL,NULL,SW_SHOWNORMAL);
That will open your default browser with your page.
I am Miss Maiden... Miss Iron Maiden :-D
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|