Domino 9 und frühere Versionen > ND8: Entwicklung
OLE-Objekte nutzen
(1/1)
bikerboy:
Hallo, ich versuche gerade ein OLE-Object vom PDFCreator zu erzeugen, aber leider sagt Notes mir immer "Cannot create automation object"
Habe die Hilfe mal zur Rate gezogen und folgenden Code daraufhin erstellt
--- Code: ---Dim object
object = CreateObject("Pdfcreator")
--- Ende Code ---
Was läuft da falsch ?
Fedaykin:
Hallo
Müsste das nicht heissen:
Set object = CreateObject("PDFCreator.clsPDFCreator")
PS: Hab kurz gegoogelt, kenn das Ding nicht.
Gruss
Remo
ascabg:
Hallo,
Auch schon die Schreibweise des zu erstellenden Objektes angesehen?
--- Zitat ---Elements
className
A string of the form appName.appClass, designating the kind of object to create (for example, "WordPro.Application").
The appName is an application that supports OLE Automation.
The appClass is the class of the object to create. Products that support OLE Automation provide one or more classes. See the product documentation for details.
--- Ende Zitat ---
Andreas
Navigation
[0] Themen-Index
Zur normalen Ansicht wechseln