AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein GUI-Design mit VCL / FireMonkey / Common Controls Delphi Trotz try...finally: Exception "Klasse nicht registriert"
Thema durchsuchen
Ansicht
Themen-Optionen

Trotz try...finally: Exception "Klasse nicht registriert"

Ein Thema von Mamphil · begonnen am 9. Jun 2005 · letzter Beitrag vom 9. Jun 2005
Antwort Antwort
Seite 2 von 2     12   
Benutzerbild von Mamphil
Mamphil

Registriert seit: 17. Jul 2004
Ort: Garching b. München
149 Beiträge
 
Delphi 7 Professional
 
#11

Re: Trotz try...finally: Exception "Klasse nicht regist

  Alt 9. Jun 2005, 14:49
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”
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 2     12   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:00 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz