🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.databases.ms-access
4 messages
4 total messages Started by xanax Tue, 22 Apr 2003 17:37
Access form + microsoft web browser
#6
Author: xanax
Date: Tue, 22 Apr 2003 17:37
29 lines
2060 bytes
hello,
I'm kinda new at databases, so i hope i can find some help here...

situation:
*table with two fields:
1) movie_title
2) search_url

*Form:
after submitting a movie.title search_url is automaticly filled in by a
macro.
This macro also takes care of opening the url in a new internet explorer
window.

(if you enter movie_title: 28 days later, the macro will enter
http://us.imdb.com/Tsearch?title=28+Days+later&restrict=Movies+and+TV in the
search_url
field)

What i would like to achieve is to open the url in the form. I suspect it is
possible? With the
"microsoft web brower" axtiveX control??

If it is possible i don't have a clue howto do it... so if anybody here
does, please let me know.

Thanks in advance

simon
Re: Access form + microsoft web browser
#7
Author: xanax
Date: Tue, 22 Apr 2003 17:44
1 lines
1440 bytes
i forgot to mention, any sample code would be more then helpfull :-)
Re: Access form + microsoft web browser
#8
Author: r0adh0g
Date: Tue, 22 Apr 2003 18:03
48 lines
2436 bytes
Create your form with a drop down box of movie_title and search_url.  Have
it bound to the search_url
Insert a AxtiveX Web Browser object on the form.  In the on change event of
the combo box do something like
this...

Private Sub Combo0_Change()

    Me.ActiveXCtl0.Navigate Me.Combo0
End Sub


"xanax" <xanax@....be> wrote in message
news:u5fpa.10510$IN4.1346362533@hestia.telenet-ops.be...
> hello,
> I'm kinda new at databases, so i hope i can find some help here...
>
> situation:
> *table with two fields:
> 1) movie_title
> 2) search_url
>
> *Form:
> after submitting a movie.title search_url is automaticly filled in by a
> macro.
> This macro also takes care of opening the url in a new internet explorer
> window.
>
> (if you enter movie_title: 28 days later, the macro will enter
> http://us.imdb.com/Tsearch?title=28+Days+later&restrict=Movies+and+TV in
the
> search_url
> field)
>
> What i would like to achieve is to open the url in the form. I suspect it
is
> possible? With the
> "microsoft web brower" axtiveX control??
>
> If it is possible i don't have a clue howto do it... so if anybody here
> does, please let me know.
>
> Thanks in advance
>
> simon
>
>
>
Re: Access form + microsoft web browser
#9
Author: xanax
Date: Tue, 22 Apr 2003 19:04
8 lines
1527 bytes
>
> Private Sub Combo0_Change()
>
>     Me.ActiveXCtl0.Navigate Me.Combo0
> End Sub
>

Thanks a lot, problem solved :-)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads