dodge
Active Member
- Joined
- Mar 26, 2007
- Sythe Gold
- 5
- Messages
- 125
if you try using the new .net class for the WebBrowser you will notice playing on runescape has some problems, usiong the old AxWebBrowser lib will fix that. Here is a sample code of what I mean
AxShDocVw is a wrapper for SHDocVw, you will notice using the page is much better.
I don’t think AxShDocVw is available on vs2005 no more but you can still reference the library if you have the file. Not sure about rules on posting a file like that on this forum but I’m sure you can Google this and find the file
Code:
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
Webpage.Navigate("URL")
AxShDocVw is a wrapper for SHDocVw, you will notice using the page is much better.
I don’t think AxShDocVw is available on vs2005 no more but you can still reference the library if you have the file. Not sure about rules on posting a file like that on this forum but I’m sure you can Google this and find the file

