![]() |
Re: Trotz try...finally: Exception "Klasse nicht regist
Aaaahh!
Dankeschön! Ich hatte wie Matze gedacht. Und beim Testen in der IDE kommt in beiden Fällen die längere Fehlermeldung. Wenn ich allerdings das Programm mit dem neuen Code
Delphi-Quellcode:
direkt ausführe, klappt alles so, wie es klappen soll (c:
// Ist Excel installiert? (zum Einlesen / Abspeichern der Spielpläne)
XLApp := TExcelApplication.Create(Self); try XLApp.Connect; XLApp.Disconnect; except Hauptform.ImportierenXLS1.Enabled := false; Hauptform.ExportierenXLS1.Enabled := false; end; Noch einmal: Vielen Dank! Mamphil |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:15 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