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:
// 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;
direkt ausführe, klappt alles so, wie es klappen soll (c:
Noch einmal: Vielen Dank!
Mamphil
The laws of physics are the canvas God laid down on which to paint his masterpiece. “Leonardo Vetra” in Dan Brown’s “Angels & Demons”