i am having quite a bit of trouble with the Microsoft WebBrowser (Previously known as Microsoft Internet Controls) COM Object in VB.NET and VJ#.NET.

I insert the component onto my form, leave the name as AxWebBrowser1, and go to the Form_Load() sub. I tell it to navigate to google on load with this line:

VB Code:
  1. AxWebBrowser1.Navigate("http://www.google.com")

It compiles fine, no runtime errors or anything when I view the form containing it, but it doesn't load anything. It stays white.

As for VJ#.NET, which is what I need this most for, I use this line of code in frmWeb_Load:

VB Code:
  1. axWebBrowser1.Navigate("http://www.google.com");

I cannot compile the program. I get this error:

Cannot find method 'Navigate(String)' in 'AxSHDocVw.AxWebBrowser'
Any ideas?