Autor Beitrag
TriphunEM
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97



BeitragVerfasst: Mi 31.12.03 10:08 
Wenn ich mit der Indykomponente TidFTP einer Verbindung zu einer Server erstellen möchte, der aber offline ist...bekomm ich jetzen mal eine Fehlermeldung in Form eines Error-Messagedialogs. Das will ich aber nicht. Ich will einfach nur, das in meiner Listbox wo die Verbindungsdaten auftauchen, einfach nur ein Satz...Verbindung abgebrochen, oder so kommt. We kann ich diese Fehlermeldung ausschalten?
Versteht Ihr?

Danke
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Mi 31.12.03 10:19 
Wie wäre es mit einem Try...except ?. Dann kannst Du im Except Zweig die Meldung in Deine Listbox schreiben
TriphunEM Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97



BeitragVerfasst: Mi 31.12.03 12:56 
nein, das funzt nicht. die meldung bringt windows trotzdem.
hab eine lösung schon gefunden.
mit Tapplicationevents