Print method - Object does not support this method?
-
- Posts: 1
- Joined: Fri Jun 13 2003
Print method - Object does not support this method?
I've got the latest version of the demo, PDFCreactiveX.dll 1.09e, and can not get the following code to work. I simply want to print a PDF to the default printer. I have also tried specifing the printer name, and using different values for the Prompt parameter, since the documentation differs between boolean and long.
Private Sub Form_Load()
oPDF.Open "D:\SHARE\T.PDF", ""
oPDF.Print "", False
End Sub
The file opens properly, but when the print method is called, I get the following runtime error: 438 - Object does not support this property or method.