Article View: borland.public.cppbuilder.internet.web
Article #423Re: How to NOT download Images when using TCppWebBrowser?
From: Tom
Date: Sat, 03 Feb 2007 02:21
Date: Sat, 03 Feb 2007 02:21
17 lines
1650 bytes
1650 bytes
Alright here's an example that will accomplish what you want. I've purposely
left out error checking to keep it
fairly simple.
TIdMultiPartFormDataStream *PostData = new TIdMultiPartFormDataStream;
PostData->AddFormField("login", fldUsername->Text); // fldUsername is just
a text edit for the user to enter it in
PostData->AddFormField("senha", fldPassword->Text); // same as above for
fldPassword
AnsiString LoginResult =
Http->Post(http://www.url.com/agendamento-web/login, PostData);
delete PostData;
Also, what all needs to be accomplished after login?
-Tom
Technical Details
Message-ID:
<45c3f16d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45c3b1be$1@newsgroups.borland.com> <45c3c514$1@newsgroups.borland.com> <45c3ced8@newsgroups.borland.com> <45c3dd00$1@newsgroups.borland.com> <45c3e8fe$1@newsgroups.borland.com> <45c3edbd$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 From: "Tom" <tom@nospam.net> Newsgroups: borland.public.cppbuilder.internet.web 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> <45c3edbd$1@newsgroups.borland.com> Subject: Re: How to NOT download Images when using TCppWebBrowser? Date: Fri, 2 Feb 2007 20:21:38 -0600 Lines: 19 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.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 68.1.78.156 Message-ID: <45c3f16d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1170469229 68.1.78.156 (2 Feb 2007 18:20:29 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail