Opening a pdf file on a vb form created with pdf Creator

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
bentley_ca
Posts: 2
Joined: Tue Jun 24 2003

Opening a pdf file on a vb form created with pdf Creator

Post by bentley_ca »

I have reviewed all the sample code and technical notes on this but I still can not get it to work. Basically I have created a form and added the pdf Creator to it by dragging the pdfCreativeX Class to the form(from the toolbox). I then created a menu and when the user clicks on open it should bring up the pdf file created by the PDF Creator. Here is a look at some of my code...
Dim pdfViewer As New ACPDRCREACTIVEX.PDFCreactiveX
With pdfViewer
.Open("C:\tmp017.pdf", "")
.ReportState = ACPDFCREACTIVEX.ReportStateConstants.acReportStateDesign

What am I doing wrong? :? (Please note I am using Visual Basic.net)
bentley_ca
Posts: 2
Joined: Tue Jun 24 2003

Re: Opening a pdf file on a vb form created with pdf Creator

Post by bentley_ca »

Nevermind I figured out the error on my own... Thanks anyway :roll:
Post Reply