dbTalk Databases Forums  

Access 2010 webbrowser control

comp.databases.ms-access comp.databases.ms-access


Discuss Access 2010 webbrowser control in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
exebat
 
Posts: n/a

Default Access 2010 webbrowser control - 06-08-2010 , 01:05 PM






Is there any way to navigate the new webbrowser control built-in ms
access 2010 from VBA ?

Webbrowser.navigate does not work.

Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: Access 2010 webbrowser control - 06-08-2010 , 09:09 PM






On Tue, 8 Jun 2010 11:05:47 -0700 (PDT), exebat
<srdjan.vasiljevic (AT) gmail (DOT) com> wrote:

Use:
Me.myWebBrowserControl.Object.Navigate myUrl

-Tom.
Microsoft Access MVP



Quote:
Is there any way to navigate the new webbrowser control built-in ms
access 2010 from VBA ?

Webbrowser.navigate does not work.

Reply With Quote
  #3  
Old   
exebat
 
Posts: n/a

Default Re: Access 2010 webbrowser control - 06-08-2010 , 11:01 PM



It works. Thanks a lot.

Reply With Quote
  #4  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Access 2010 webbrowser control - 06-09-2010 , 04:41 PM



Tom van Stiphout <tom7744.no.spam (AT) cox (DOT) net> wrote in
news:tstt06t56f7bkiq76b949pc1onkkq3df2d (AT) 4ax (DOT) com:

Quote:
Use:
Me.myWebBrowserControl.Object.Navigate myUrl
Is there some good reason why they changed the commands for the new
web browser control?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Reply With Quote
  #5  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Access 2010 webbrowser control - 06-11-2010 , 01:18 AM



"David W. Fenton" <XXXusenet (AT) dfenton (DOT) com.invalid> wrote

Quote:
Tom van Stiphout <tom7744.no.spam (AT) cox (DOT) net> wrote in
news:tstt06t56f7bkiq76b949pc1onkkq3df2d (AT) 4ax (DOT) com:

Use:
Me.myWebBrowserControl.Object.Navigate myUrl

Is there some good reason why they changed the commands for the new
web browser control?

Well, actually I think the reason here is that we never had a old one. This
is a new Access control and it not a activeX one. It is native to access and
can bound like a text box (or say the new picture control. So you find this
control in the tool box now, not the activeX list.

So much of the way this control works is Access based. You can even use
access expressions based on concatenation of several other fields in the
form (parameters). Since this new web browser control can be bound to a
column in the form underlying data source then a simple navigation to a
different record or even code that changes the value of that column means
the web control will update to reflect the URL.

To display web pictures, web part photos, temperature data. Stock data or
even to display some HTML with JavaScript inside of a form then this control
has more uses then any possible control added to the tool box then I can
think of in all of access history.

Not only can you build up expressions like you can for any control such as a
text box, but you can also "save" the scroll position that you are viewing
into the web page. This is one major nice addition.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal (AT) msn (DOT) com

Reply With Quote
  #6  
Old   
David W. Fenton
 
Posts: n/a

Default Re: Access 2010 webbrowser control - 06-11-2010 , 06:29 PM



"Albert D. Kallal" <PleaseNOOOsPAMmkallal (AT) msn (DOT) com> wrote in
news:PykQn.73614$HG1.51865 (AT) newsfe21 (DOT) iad:

Quote:
"David W. Fenton" <XXXusenet (AT) dfenton (DOT) com.invalid> wrote in message
news:Xns9D92B42652A98f99a49ed1d0c49c5bbb2 (AT) 74 (DOT) 209.136.92...
Tom van Stiphout <tom7744.no.spam (AT) cox (DOT) net> wrote in
news:tstt06t56f7bkiq76b949pc1onkkq3df2d (AT) 4ax (DOT) com:

Use:
Me.myWebBrowserControl.Object.Navigate myUrl

Is there some good reason why they changed the commands for the
new web browser control?

Well, actually I think the reason here is that we never had a old
one. This is a new Access control and it not a activeX one. It is
native to access and can bound like a text box (or say the new
picture control. So you find this control in the tool box now, not
the activeX list.
Fair enough, but the no-Access ActiveX web browser control is so
ubiquitous that when the Mozilla project created a Gecko-based
ActiveX web browser control, they replicated the exact interface of
the IE control so that you could use it entirely interchangeably
(and I can verify that it works even in Access, including having all
the same problems, such as resizing, etc.).

Quote:
So much of the way this control works is Access based. You can
even use access expressions based on concatenation of several
other fields in the form (parameters). Since this new web browser
control can be bound to a column in the form underlying data
source then a simple navigation to a different record or even code
that changes the value of that column means the web control will
update to reflect the URL.
Can it display HTML that has not been saved to the file system or
stored in a rich-text field?

Quote:
To display web pictures, web part photos, temperature data. Stock
data or even to display some HTML with JavaScript inside of a form
then this control has more uses then any possible control added to
the tool box then I can think of in all of access history.
Seems like only an incremental increase of functionality over the
non-Access web browser ActiveX control, though, certainly with much
less hassle.

Quote:
Not only can you build up expressions like you can for any control
such as a text box, but you can also "save" the scroll position
that you are viewing into the web page. This is one major nice
addition.
Do you know if it is completely divorced from your installed IE
version? That is, is it using the installed version of IE as the
rendering engine, or is it using its own private rendering engine?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Reply With Quote
  #7  
Old   
James A. Fortune
 
Posts: n/a

Default Re: Access 2010 webbrowser control - 06-14-2010 , 08:58 AM



On Jun 11, 2:18*am, "Albert D. Kallal" <PleaseNOOOsPAMmkal... (AT) msn (DOT) com>
wrote:
Quote:
So much of the way this control works is Access based. You can even use
access expressions based on concatenation of several other fields in the
form (parameters). Since this new web browser control can be bound to a
column in the form underlying data source then a simple navigation to a
different record or even code that changes the value of that column means
the web control will update to reflect the URL.

To display web pictures, web part photos, temperature data. Stock data or
even to display some HTML with JavaScript inside of a form then this control
has more uses then any possible control added to the tool box then I can
think of in all of access history.
I agree that having such a control adds to Access' current and future
capabilities in a huge way. Kudos to Microsoft for implementing it.

James A. Fortune
CDMAPoster (AT) FortuneJames (DOT) com

I looked at the MVVM software pattern implemented through Visual
Studio and was impressed by some things, but not by others. A typical
implementation used data triggers to give it a seemingly magical
update condition. That didn't impress me much. The initial schema,
software and data binding were definitely much more involved than a
typical Access setup. What impressed me was that the final result
could automatically handle something that in Access would require
dynamic generation of subforms to accomplish.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.