🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2256

Re: TIdHTTP component and BCB2006

#2256
From: Remy Lebeau (TeamB)
Date: Tue, 11 Jul 2006 16:40
30 lines
1772 bytes
"masi" <masiurb@tin.it> wrote in message
news:44b39b74$1@newsgroups.borland.com...

> void __fastcall TForm1::Button1Click(TObject *Sender)
> {
>   String response = IdHTTP1->Get(Edit1->Text);
>   Memo1->Clear();
>   Memo1->Lines->Add(response);
> }

Since the HTML likely has line breaks in it, you should assign the Text
property instead, ie:

    void __fastcall TForm1::Button1Click(TObject *Sender)
    {
        Memo1->Text = IdHTTP1->Get(Edit1->Text);
    }

> Now, if I try to open my project with BCB2006, it first tells me
> that IdHTTP1->Request.ProxyPort does not exist.

Did you install Indy 9 or 10 when you installed BDS?  Which version of Indy
were you previously using?  I'm guessing that you were using Indy 8, because
BCB6 ships with Indy 8 preinsalled, and there is no Request.ProxyPort
property in either Indy 9 or 10.  ProxyPort is a subproperty of the
ProxyParams property now.


Gambit
Technical Details
Message-ID: <44b3d495$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44b39b74$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,58cbb7a88b1fb79d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <44b39b74$1@newsgroups.borland.com>
Subject: Re: TIdHTTP component and BCB2006
Date: Tue, 11 Jul 2006 09:40:40 -0700
Lines: 32
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: 68.69.17.41
Message-ID: <44b3d495$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152636053 68.69.17.41 (11 Jul 2006 09:40:53 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail