AxSHDocVw.AxWebBrowser does not work.

desconfiado

New member
Joined
Feb 24, 2007
Messages
2
Programming Experience
10+
Hi,

Can anyone help me with this.
I just added a AxSHDocVw.AxWebBrowser control in a form and tried to populate it with WebB.Navigate2(path\file) but it does not show up.
If i open the file with IE it opens fine.
Do i need to do anything else?
 
Using a fully qualified path to the local file worked for me:
VB.NET:
Dim file As String = IO.Path.Combine(Application.StartupPath, "test.htm")
AxWebBrowser1.Navigate(file)
 
Back
Top