🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #422

Re: How to NOT download Images when using TCppWebBrowser?

#422
From: Eduardo Jauch
Date: Sat, 03 Feb 2007 02:13
45 lines
1888 bytes
Another question...

What is "parser"?
Is something like find the information in the HTML?

When I use TCppWebBrowser, I use Something like this:





IHTMLDocument2 *FrameDoc;
IHTMLElementCollection *All;
IDispatch *Disp;
IHTMLInputElement *pInput;

FrameDoc = EncontrarFrame(WideString("iContent"));

if( FrameDoc )
{
   FrameDoc->get_all(&All);

   if( All )
   {
     All->item(TVariant(WideString("login")), TVariant(0), &Disp);

     if( Disp )
     {
       Disp->QueryInterface(IID_IHTMLInputElement, (LPVOID*)&pInput);
       Disp->Release();

       if( pInput )
       {
         WideString wsValue("JULIA");
         pInput->put_value(wsValue);
         pInput->Release();
       }
     }
   }
}




How to do this using Indy?
Technical Details
Message-ID: <45c3ef8b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45c3b1be$1@newsgroups.borland.com> <45c3c514$1@newsgroups.borland.com> <45c3ced8@newsgroups.borland.com> <45c3dd00$1@newsgroups.borland.com> <45c3e8fe$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6f641b2ecb4f1ab6
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 03 Feb 2007 00:13:41 -0200
From: Eduardo Jauch <eduardo.jauch@gmail.com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: How to NOT download Images when using TCppWebBrowser?
References: <45c3b1be$1@newsgroups.borland.com> <45c3c514$1@newsgroups.borland.com> <45c3ced8@newsgroups.borland.com> <45c3dd00$1@newsgroups.borland.com> <45c3e8fe$1@newsgroups.borland.com>
In-Reply-To: <45c3e8fe$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 201.15.254.107
Message-ID: <45c3ef8b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1170468747 201.15.254.107 (2 Feb 2007 18:12:27 -0800)
Lines: 45
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail