Article View: borland.public.cppbuilder.internet.web
Article #63Re: Getting image from web site
From: Grumps
Date: Fri, 16 Mar 2007 10:56
Date: Fri, 16 Mar 2007 10:56
26 lines
1787 bytes
1787 bytes
Hans Galema wrote:
> Graeme wrote:
>
>> Just need to get the images from the page.
>
> T(Cpp)WebBrowsr has a method to give you all the img's on that page.
>
> From thereon you can get the url in the src="url".
>
> Code below shows the amount of images and after that displays the
> src url's. Only it does not. It does display the url for the first
> image only.
>
> Maybe you can get it to work properly. At the moment I have no time
> for it. If you get it to work pleas post the code.
>
> Hans.
>
> void __fastcall TForm1::SpeedButton22Click(TObject *Sender)
> {
> AnsiString AllImages;
>
> IHTMLDocument2 *HTMLDoc = NULL;
I've fallen at the first hurdle!
Where do I get IHTMLDocument2 from? Is it part of C++Builder5?
Technical Details
Message-ID:
<45fa78c0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45fa4d3d@newsgroups.borland.com> <45fa65c8@newsgroups.borland.com> <45fa760d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f9f39b263073b0ab X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Grumps" <grumpsnothere@hotmail.com> From: "Grumps" <grumpsnothere@hotmail.com> Newsgroups: borland.public.cppbuilder.internet.web References: <45fa4d3d@newsgroups.borland.com> <45fa65c8@newsgroups.borland.com> <45fa760d$1@newsgroups.borland.com> Subject: Re: Getting image from web site Date: Fri, 16 Mar 2007 10:56:32 -0000 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 217.154.226.212 Message-ID: <45fa78c0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1174042816 217.154.226.212 (16 Mar 2007 04:00:16 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail