![]() |
Komponente (IDHTTP) ohne Form ?
hi,
wie ist es möglich, dass ich die Komponente "IdHttp" in einem formlosen Projekt anwenden kann ? Kann die Komponente ja nicht auf der Form einfügen, da ich keine besitze :-( mfg |
Re: Komponente (IDHTTP) ohne Form ?
In dem du sie dynamisch erstellst:
Delphi-Quellcode:
uses
.., IdHTTP; ... var http: TIdHTTP; s: String; begin http := TIdHTTP.Create(nil); try s := http.Get('http://www.google.de/'); Writeln(s); finally http.free; end; end; |
Re: Komponente (IDHTTP) ohne Form ?
alles klar...hätt ich auch locker drauf selber kommen können :D
besten dank |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:44 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz