How do i stop the webbrowser redirecting to Runescape.com when i try to go to the worlds?
It doesn't seem to have a beforenavigate sub.
I've tried the "navigating" sub but:
if e.url = "http://www.runescape.com" then
e.cancel = true
doesn't seem to work (it gives some error) :O
Also i saw dodge post this but don't quite understand how to use it:
Dim Webpage As AxSHDocVw.AxWebBrowser = New AxSHDocVw.AxWebBrowser 'create new browser instance
AddHandler Webpage.BeforeNavigate2, AddressOf Me.Webpage_BeforeNavigate2
AddHandler Webpage.NavigateComplete2, AddressOf Me.Webpage_NavigateComplete2
Webpage.RegisterAsBrowser = True
Webpage.Silent = True
Webpage.Visible = True
im gonna probably be posting alot of simple fix questions because im starting in .net now