Article View: borland.public.cppbuilder.internet.web
Article #390Re: Help with TCppWebBrowser - Find and click a button
From: Remy Lebeau (TeamB)
Date: Tue, 09 Jan 2007 19:19
Date: Tue, 09 Jan 2007 19:19
40 lines
2340 bytes
2340 bytes
"mike" <mfbrowne@earthlink.nnet> wrote in message news:459fbc29$2@newsgroups.borland.com... > 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. Then you are likely still not looking in the right page for the button. Please show the exact starting URL that you are trying to access the button from. > 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. What exactly did you see? Are there other frames that you are not accounting for yet? > If I do a view source over the area that does contain the button I do see it in notepad. Then all the more reason that you are not handling the frames 100% correctly yet. > 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. Then again, please show the original URL so someone else can look at it. Gambit
Technical Details
Message-ID:
<45a3ea64$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!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> <459fbc29$2@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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com> <459fbc29$2@newsgroups.borland.com> Subject: Re: Help with TCppWebBrowser - Find and click a button Date: Tue, 9 Jan 2007 11:19:13 -0800 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.34.171 Message-ID: <45a3ea64$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168370276 75.83.34.171 (9 Jan 2007 11:17:56 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail