S
Stephen Rasey
I have placed an "Microsoft Web Browser" control on an Access Form.
The Control is called WebBrowser1.
In the immediate window:
?typeof me.webbrowser1.Object is SHDocVw.WebBrowser
True
So it looks like I have the right kind of object.
In the VBE Intellisense, there is no .Navigate2 property.
The Code:
With Me.WebBrowser1
.Navigate2 = "http://yahoo.com"
End With
Errors with...
"Object doesn't support this property or method."
The control works if I drag and drop a URL from the IE Address bar.
However, I must be able to set the address from the OnCurrent event in the
forms code.
I have tried this on two computers, one using Access 2003, another with
Access 2002.
I am stumped. Any suggestions of what I should check?
All I want to do is display on an Access form pictures from a URL address
set by code in the OnCurrent event.
Stephen Rasey
Houston
The Control is called WebBrowser1.
In the immediate window:
?typeof me.webbrowser1.Object is SHDocVw.WebBrowser
True
So it looks like I have the right kind of object.
In the VBE Intellisense, there is no .Navigate2 property.
The Code:
With Me.WebBrowser1
.Navigate2 = "http://yahoo.com"
End With
Errors with...
"Object doesn't support this property or method."
The control works if I drag and drop a URL from the IE Address bar.
However, I must be able to set the address from the OnCurrent event in the
forms code.
I have tried this on two computers, one using Access 2003, another with
Access 2002.
I am stumped. Any suggestions of what I should check?
All I want to do is display on an Access form pictures from a URL address
set by code in the OnCurrent event.
Stephen Rasey
Houston