I have an application written in vb 6 which uses the pdf.ocx control to view and print pdf files. Reader versions prior to 6 worked fine.
When I upgraded to Reader 6 it stopped working. At first I could print a pdf file once (using the pdf1.printall command), if I used the pdf1.printall command again nothing would happen. If I use the pdf1.printwithdialog command it will print every time. Has anyone seen this issue? Does anyone have any suggestions?
Here is the code from a test project I created to test it. The form only has the pdf control (pdf.ocx - version, 6.0.0.878) and two command buttons.
Private Sub cmdPrint_Click()
Pdf1.printAll
End Sub
Private Sub cmdPrintDialog_Click()
Pdf1.printWithDialog
End Sub
Private Sub Form_Load()
Pdf1.src = "C:\Program Files\Adobe\Acrobat 6.0\Resource\ENUtxt.pdf"
End Sub
Thank you for any help
Ron
When I upgraded to Reader 6 it stopped working. At first I could print a pdf file once (using the pdf1.printall command), if I used the pdf1.printall command again nothing would happen. If I use the pdf1.printwithdialog command it will print every time. Has anyone seen this issue? Does anyone have any suggestions?
Here is the code from a test project I created to test it. The form only has the pdf control (pdf.ocx - version, 6.0.0.878) and two command buttons.
Private Sub cmdPrint_Click()
Pdf1.printAll
End Sub
Private Sub cmdPrintDialog_Click()
Pdf1.printWithDialog
End Sub
Private Sub Form_Load()
Pdf1.src = "C:\Program Files\Adobe\Acrobat 6.0\Resource\ENUtxt.pdf"
End Sub
Thank you for any help
Ron