Posted by a ceTe Software moderator
Hello Olaf,
We are able to run the exact same code without any problem in VB6. Please make sure that you have the correct dlls registered in your system. Also try unregistering the dlls and register again, then make a new reference to the dll in your application. Below is the code we used.
Dim SourceDocument As DynamicPDF.Document
Private Sub Form_Load()
Source = "C:\Temp\fw9AcroForm_03.pdf"
Set SourceDocument = New Document
SourceDocument.LoadPdf Source
SourceDocument.DrawToFile "C:\Temp\vb6PDF.pdf"
End Sub
Thanks,
ceTe Software Support Team.