[AccessD] A2003:Navigating using Web Browser Control

DWUTKA at marlow.com DWUTKA at marlow.com
Fri Jan 13 16:46:17 CST 2006


Come on Darren, you're better then that! ;)

Do you know how to code the 'Click' event for a button?  That's the form's
code page.  A form (and report) are Class Modules.  When you are in a class
module, the top left dropdown is the 'objects' you have associated with that
class.  In the case of a form, there are 'default' objects, such as Form,
Detail, etc.  When you put objects on that form, such as buttons, textboxes,
etc, those too will show up in that top left dropdown. (including ActiveX
controls).  If you dim something 'withevents', it will show up in that top
left dropdown also (if it has raisable events).  When you have something
selected in the top left drop down, look at the top right dropdown.  That is
the list of events associated with the selected object.

Drew

-----Original Message-----
From: Darren DICK [mailto:darrend at nimble.com.au]
Sent: Friday, January 13, 2006 11:42 AM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] A2003:Navigating using Web Browser Control


Howdy
Yep it's an activeX
But I am a luddite and have no idea what you mean :-))
What's a 'forms code page'?

All I know is I can pass values to the dot navigate property of the Active X
control
I just wanna find a property for something like dot CurrentURLIs blah blah
blah

The other stuff is far too cerebral for me - sorry

DD



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com
Sent: Saturday, 14 January 2006 4:28 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] A2003:Navigating using Web Browser Control

Are you just referencing the browser in code, if so, you need to dimension
it
'withevents' so you are hooked into it's events.  If you are dropping it as
an
ActiveX control, on a form, it should be an object within the forms code
page
with events you can write code for.

Drew

-----Original Message-----
From: Darren DICK [mailto:darrend at nimble.com.au]
Sent: Friday, January 13, 2006 11:19 AM
To: AccessD
Subject: Re: [AccessD] A2003:Navigating using Web Browser Control


Hi Drew 

Long time no speak :-))

I Agree...there should be a navigate event but how would I interrogate it
and
get its results?

DD

-----Original Message-----

From: accessd-bounces at databaseadvisors.com [
<mailto:accessd-bounces at databaseadvisors.com>
mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com

Sent: Saturday, 14 January 2006 4:03 AM

To: accessd at databaseadvisors.com

Subject: Re: [AccessD] A2003:Navigating using Web Browser Control

There should be a navigate event, that should have the new URL as an
argument.

Drew

-----Original Message-----

From: Darren DICK [ <mailto:darrend at nimble.com.au>
mailto:darrend at nimble.com.au]

Sent: Friday, January 13, 2006 10:44 AM

To: AccessD

Subject: [AccessD] A2003:Navigating using Web Browser Control

Hi all

Using the Microsoft Web Browser from the ActiveX list Dropped it onto a form
-
all good I can go to a page by using code such as...

Me.actxWebBrowser.navigate  <outbind://3/www.databaseadvisors.com>
www.databaseadvisors.com No problem

When I click a link inside the 'loaded' web page - how am I to detremine
this
'new address'?

I have tried various things like...

me.actxWebBrowser.navigate.value

etc with no success

Any suggestions?

Many thanks in advanmce

Darren

FYI

OLE CLASS =Microsoft Web Browser

CLASS = Shell.Explorer.2 

--
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