Property Get Function and Printer object
I have build a Property Get Function in one of my DLL (Biblio.DLL) where a
set the Printer object to a printer with API functions as follows:
Public Property Get PrinterObject() As Object
Set PrinterObject = Printer
If I use that Property Get Procedure in my EXE:
Set Printer = Bibliothek.PrinterObject
I always get the following Error:
Runtime Error '13':
also if I test if the Objecttype is a Printer object
If TypeOf gpdbbiblio.PrinterObject Is Printer Then
Set Printer = gpdbbiblio.PrinterObject
MsgBox "Kein Printer"
Whats going wrong ?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL