![]() |
Delphi XE 2 keine ActiveX für DataModul
Hallo Zusammen,
ich habe eine Komponente importiert aus einer TLB. Die Komponente ist ein ActiveX und keine visuelle Komponente. Sie wird unter ActiveX geführt. Die Komponente kann ich auf eine Form ablegen jedoch nicht auf einem DataModul. Das gleiche gilt auch für TWSocketServer die ICS Internetkomponenten. Hat jemand eine Idee warum? Gruß Kostas |
AW: Delphi XE 2 keine ActiveX für DataModul
Stell mal im ObjektInspektor des DataModuls das Property ClassGroup auf Vcl.Controls.TControl
|
AW: Delphi XE 2 keine ActiveX für DataModul
Hallo Uwe,
danke für die Info. Hat leider nur teilweise geholfen. Die Komponente TWSocketServer von ICS kann ich jetzt auf das DataModul Form setzen doch die ActiveX Komponente leider nicht. Die Anwendung soll zu einem späteren Zeitpunkt ein Service werden. Deshalb kann ich eine Form nicht verwenden. Oder ist das in XE2 anders? Gruß Kostas |
AW: Delphi XE 2 keine ActiveX für DataModul
Ich habe das mal probeweise mit einer TWordApplication Komponente auf einem DataModule probiert und das klappt problemlos. Eventuell musst du das Projekt einmal schließen.
|
AW: Delphi XE 2 keine ActiveX für DataModul
Zitat:
Zitat:
Du kannst TForm-Nachfolger problemlos verwenden, solange du sie niemanden mit ShowModal zeigen willst. |
AW: Delphi XE 2 keine ActiveX für DataModul
Zitat:
|
AW: Delphi XE 2 keine ActiveX für DataModul
Hallo Bernhard,
das ist ja der Hammer. Ich bin nie auf die Idee gekommen eine normale Forms Anwendung zu einem Dienst umzubauen. Wenn ich dich jetzt richtig verstanden habe, könnte ich jede Anwendung als Dienst laufen lassen wenn kein Form sichtbar ist. Das wäre wirklich der Hammer. Das Fremdkomponente ist als ActiveX erzeugt worden obwohl sie nicht visuell ist. Wenn ich später keine Probleme habe die Anwendung als Dienst laufen zu lassen, ist mir das Egal. Dann verwende ich einfach eine Form. Gruß Kostas |
AW: Delphi XE 2 keine ActiveX für DataModul
Zitat:
|
AW: Delphi XE 2 keine ActiveX für DataModul
ich werde mal den Hersteller fragen warum das Teil ein ActiveX ist. Allerdings wird er mit Delphi
nichts anfangen können. Die Komponente ist in C++ geschrieben. Gruß Kostas. |
AW: Delphi XE 2 keine ActiveX für DataModul
Zitat:
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:02 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