Results 1 to 4 of 4

Thread: opening default browser from webbrowser ctl

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    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>[email protected]</email>

  2. #2
    New Member
    Join Date
    Jul 1999
    Location
    Lombard, IL USA
    Posts
    2

    Post

    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.

  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]



  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    ok then...can I use that ShellExecute api from a click event in the web browser control?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width