[AccessD] Displaying web page in a form- SOLVED!

Bruce Bruen bbruen at bigpond.com
Wed Jun 11 07:34:00 CDT 2003


Nevermind!

Finally, declared a Webbrowser object, set it to the control object and
navigate from it, viz
	Dim WB As WebBrowser
    	Set WB = Me.actx_WebBrowser.Object
    	WB.Navigate "someURL"

That did the trick.  No idea why direct navigation doesn't work though.

Bruce


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruce Bruen
Sent: Wednesday, June 11, 2003 5:56 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Displaying web page in a form


Hmm,

Referenced OK
(Registered OK)
Inserted OK
But...
Me.actx_WebBrowser.navigate "some url" 
	gives runtime error 438 "Object doesn't support this property or
method"

Any ideas?

Tia 
Bruce

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK
Sent: Wednesday, June 11, 2003 4:54 PM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Displaying web page in a form


Hi Bruce
Just like Jim said
Reference the shdocvw.dll in the references.
(It will show up in the list as Microsoft Internet controls)

Then from your long list of available ActiveX objects find 
one called Microsoft web browser. Insert that onto a form and call it
say...actX_WebBrowser

then code will trigger it will be... Me.actX_WebBrowser.navigate
http://www.microsoft.com

Hope this helps

Darren


----- Original Message ----- 
From: "Bruce Bruen" <bbruen at bigpond.com>
To: <accessd at databaseadvisors.com>
Sent: Wednesday, June 11, 2003 2:01 PM
Subject: [AccessD] Displaying web page in a form


> Dear List,
> 
> Is there a way to display a web page inside a form!  I want to click
> on a hyperlink and have the page appear within the form itself.
> 
> Tia
> Bruce
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list