Web Browser Contents

H

Humphrey

I'd like to send a URL to a WebBrowser control and return the HTML code in
the browser. I can create the control and populate it to open a web site.
What I'd like now is to return the HTML source code to a variable or
otherwise store it in my database.
Could someone please let me know how I might achieve this??

H
 
D

Daniel Pineault

You could use a web browser call to extract the innerHTML and then pass that
to your table.

see the following links to give you some inspiration. You should be able to
modify the sample code to suit your needs.

http://www.tek-tips.com/viewthread.cfm?qid=1458220
http://www.pcreview.co.uk/forums/thread-947224.php
http://www.ozgrid.com/forum/showthread.php?t=91644

--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top