Article View: borland.public.cppbuilder.internet.web
Article #462Re: Help with TCppWebBrowser - Find and click a button
From: mike
Date: Sat, 06 Jan 2007 15:12
Date: Sat, 06 Jan 2007 15:12
35 lines
2323 bytes
2323 bytes
Remy,
Again thank you for responding to me on this problem.
I tried the code you supplied and have the following results:
For the first code sample you supplied, the button was not found. Now
because I suspected there might be frames, and did find 2 frames located on
the web page. So I tried the second code sample and added the
TComInterface<IHTMLElementCollection> All;
for the framedoc reteived. However the button again was not found. I tried
this on both frame 0 and frame 1.
I then decided to get the source of the frames and save them to a file where
I could see what was actually within the framedoc. Upon this review I did
not see the button source in either frame doc. If I do a view source over
the area that does contain the button I do see it in notepad.
So I am totally confused on where this button definition could be within the
web page, and I am not sure how to find this information out.
I have reviewed the documentation you pointed me to but I am not sure what I
am looking for to help me out.
I can supply you with the web page navigation to see the web page yourself
if this will help out.
So I am at a loss and I am hoping you can point me in the right direction to
help me.
Thanks
Mike
Technical Details
Message-ID:
<459fbc29$2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6ed59181280548e1 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "mike" <mfbrowne@earthlink.nnet> Newsgroups: borland.public.cppbuilder.internet.web References: <459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com> Subject: Re: Help with TCppWebBrowser - Find and click a button Date: Sat, 6 Jan 2007 10:12:21 -0500 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 72.185.80.204 Message-ID: <459fbc29$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168096297 72.185.80.204 (6 Jan 2007 07:11:37 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail