![]() |
Re: IeHttp Problem mit txt file vergleichen
Zitat:
Delphi-Quellcode:
const version = '1.5.0'
... procedure TForm1.Button1Click(Sender: TObject); begin iehttp1.ExecuteURL('http://www.luphisoft.de/toolbar/version.txt'); if iehttp1.sl.Text <> version then Edit1.Text:='ok' else Edit1.Text:='no'; end; Zitat:
|
Re: IeHttp Problem mit txt file vergleichen
Hast Du schon mal geschaut was Dir
Delphi-Quellcode:
zurückliefert, kannst Du dir ja ctrl-f5 anschauen
iehttp1.sl.Text
oder mal in einem TMemo ausgeben? Vielleicht fällt es ja auf warum immer ein o.k kommt. Ausserdem prüfst du auf Ungleichheit. d.h wenn iehttp1.sl.Text <> version ist kommt o.k. zurück.
Delphi-Quellcode:
if iehttp1.sl.Text <> version then
Edit1.Text:='ok' else Edit1.Text:='no'; |
Re: IeHttp Problem mit txt file vergleichen
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:09 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