Hi There I would start looking at the OleObject variable, I use the code below to go through the elements of the form. I will need to look a little further if this is not what you need. Iterating through the elements is probably the best way to get data out of the page.
var ovElements: OleVariant; begin ovElements := WebBrowser.OleObject.Document.forms.item(0).elements; end On Mon, Aug 16, 2010 at 4:53 AM, -K2RFP- <[email protected]> wrote: > I'm using a TWebBrowser component to open and display > a webpage that is simple text. > How can I gain access to the web page contents so I > can save it to a file by clicking a button on my > application? > > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk > -- Andre van Zuydam Spiceware Software ============================= Email: [email protected] Tel: +27 83 391 8443 Fax: +27 86 682 6944 Web: www.spiceware.co.za ============================= __________________________________________________ Delphi-Talk mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
