Page 1 of 1

Webbrowser Help

Posted: Sun Feb 17, 2013 5:46 am
by muttley1968
Hi im trying to make an update to my webbrowser for an OS im buildling (Again) =)

anyway im trying to make it handle whne people click links est... it opens them in our webbrowser instead of the Default browsers how would i make it do this i did try this code but it does not work
Code: Select all
        Try
            CType(BackTrackTabControl1.SelectedTab.Controls.Item(0), Windows.Forms.WebBrowser).Navigate(URL_Link.Text)
        Catch ex As Exception
            MsgBox(ex.ToString)
        End Try
it just makes the current browser navigate i put it in a newwindow event ect....

maybe is their a way to change the Default browser to our and then when our OS
shuts down change it back to internet explorer or what it was before our os started ?....

Re: Webbrowser Help

Posted: Sun Feb 17, 2013 4:23 pm
by muttley1968
anyone able to help

Re: Webbrowser Help

Posted: Sun Feb 17, 2013 4:31 pm
by mandai
The default web browser settings are stored in the registry. It is possible to change these, and have your program load the URL when it is started.

There is a useful article that describes the settings here
Ideally the user should be aware if the browser setting will change when using the software.