Home All Groups Group Topic Archive Search About

WebBrowser component in VB

Author
1 Feb 2006 8:21 PM
Claudia Fong
Hi,


I would like to know if is possible to use VB6 to get information from
a webpage using the WebBrowser component.


I need to retrieve data from a webpage to store in my local database.
For exemple, I do a search for books and the results will be stored in
my db.

Can someone help me?


Cheers!

    Claudi

*** Sent via Developersdex http://www.developersdex.com ***

Author
1 Feb 2006 9:05 PM
Ken Halter
Show quote Hide quote
"Claudia Fong" <cdolphi***@yahoo.co.uk> wrote in message
news:%23J8NM02JGHA.2248@TK2MSFTNGP15.phx.gbl...
>
> Hi,
>
>
> I would like to know if is possible to use VB6 to get information from
> a webpage using the WebBrowser component.
>
>
> I need to retrieve data from a webpage to store in my local database.
> For exemple, I do a search for books and the results will be stored in
> my db.
>
> Can someone help me?
>
>
> Cheers!
>
>    Claudi

You can grab the entire web page, place it in a string and parse out the
parts you need. Here's some code to read the page. The parsing's up to you
<g>

Looking at the entire page as a string in a WebBrowser control
http://groups.google.com.my/group/microsoft.public.vb.controls/browse_frm/thread/2a196e8326d58dae

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm
Author
1 Feb 2006 9:07 PM
Veign
Did you try the answer in another group?

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--


Show quoteHide quote
"Claudia Fong" <cdolphi***@yahoo.co.uk> wrote in message
news:%23J8NM02JGHA.2248@TK2MSFTNGP15.phx.gbl...
>
> Hi,
>
>
> I would like to know if is possible to use VB6 to get information from
> a webpage using the WebBrowser component.
>
>
> I need to retrieve data from a webpage to store in my local database.
> For exemple, I do a search for books and the results will be stored in
> my db.
>
> Can someone help me?
>
>
> Cheers!
>
>    Claudi
>
> *** Sent via Developersdex http://www.developersdex.com ***