Please Login | Return to the first page. | Help
Printing%23%21in%23%21VB - Powered By Zeon Corporation
Forum > > DocuCom PDF Products > DocuCom PDF Reader OCX > Printing in VB

New Topic Reply topic The topic has been viewed for 21668 times  Previous Topic  Flat View  Refresh Next Topic
 Topic:Printing in VB  
hkammerer
Member

Status:【Offline】
Printing in VB

I try to print but the Print-Method creates an error (438: Object doesn't support this property or method)

My VB-Code:

  Dim lngRet As Long
  Dim objPDFPrint As PDFREADEROCXLib.IPDFReaderPrint
 
  lngRet = Me.PDFReaderOCX1.GetPrintDispatch(objPDFPrint)
  If lngRet <> 0 Then
   
    MsgBox "Das Dokument kann nicht gedruckt werden.", vbOKOnly, "PDF Dokument drucken"
   
  Else
   
    objPDFPrint.showPrintDialog = True
    objPDFPrint.Print
    
  End If
 
  Set objPDFPrint = Nothing

3/4/2005 12:40:23 AM   Other topic By this author Quote this topic reply this topic
Total Page: 1 [ 1 ]  
  Tree View
Topic:● Printing in VB(785 bytes) - hkammerer,3/4/2005
    Replies:○ Re:Printing in VB(110 bytes) - znsupport,12/30/2005
    Replies:○ hey,man,are you still here? add my msn(dakwing@hot...(316 bytes) - louisdeng,5/8/2005

Copyright©1993-2024 Zeon Corporation Forum All Rights Reserved
Run Time:66ms