PDA

Click to See Complete Forum and Search --> : opening default browser from webbrowser ctl


k0jack
Jul 19th, 1999, 09:31 PM
I have developed an application that pulls links out of search engine results and displays them in an embedded webbrowser control. Can anyone tell me how to open the default browser when the user clicks one of the links in the WB control? and have it open up to the specified link?


------------------
<b>Marc Thomson,</b>
Head Project Programmer
1271 3 Ave. S.
Lethbridge, Alberta, Canada
<email>marc@vmginc.net</email>

papostolos
Jul 22nd, 1999, 01:44 AM
I am having a similiar problem. I am making a realplayer application that allows the user to open files or browse the internet for real media types and open those. I want the application to use the viewer that is in the application not the "system" real player. How? I'm thinking some type of If Then MimeType statement but I don't know the syntax. Please Help.

Serge
Jul 22nd, 1999, 03:37 PM
Unfortunately WebBrowser control works only with Internet Explorer. It's not even going to work if you don't have IE installed.

If you want to open a default browser, looks like you'll have to stick with ShellExecute API.


Regards,


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

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com

k0jack
Jul 22nd, 1999, 08:21 PM
ok then...can I use that ShellExecute api from a click event in the web browser control?