Web Browser Contents

  • Thread starter Thread starter Humphrey
  • Start date Start date
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
 
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.
 
Back
Top