From: Humphrey on 28 Apr 2010 02:48 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
From: Douglas J. Steele on 28 Apr 2010 10:09 See whether my article at http://www.vb123.com/kb/200311_ds_aa_2.htm is enough to get you going. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Humphrey" <Humphrey(a)discussions.microsoft.com> wrote in message news:768A1A63-BDDF-44C5-A973-AA0F8E501B14(a)microsoft.com... > 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
From: Daniel Pineault on 28 Apr 2010 10:45 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. "Humphrey" wrote: > 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
|
Pages: 1 Prev: Disable/Enable all controls on a form based on value of another control Next: Resizing Forms |