Das Notes Forum

Domino 9 und frühere Versionen => ND8: Entwicklung => Thema gestartet von: bikerboy am 22.02.10 - 10:45:58

Titel: OLE-Objekte nutzen
Beitrag von: bikerboy am 22.02.10 - 10:45:58
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")

Was läuft da falsch ?
Titel: Re: OLE-Objekte nutzen
Beitrag von: Fedaykin am 22.02.10 - 11:15:29
Hallo

Müsste das nicht heissen:
Set object = CreateObject("PDFCreator.clsPDFCreator")

PS: Hab kurz gegoogelt, kenn das Ding nicht.

Gruss
Remo
Titel: Re: OLE-Objekte nutzen
Beitrag von: ascabg am 22.02.10 - 11:16:24
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.


Andreas