hunterspot
Programmer
Hi All
Greetings.
I am using the following code (in VFP 8.0) to open a .PDF file. It is working fine as long as the .PDF doesn’t contain any embedded fonts. It is giving error “OLE IDispatch exception code 65535 from CDINTF~1: Error opening PDF document.”.
Here is the code I am using to open the .PDF document.
lcDocName = “C:\pdfdocs\test.pdf”
pdfDocx = CREATEOBJECT([cdintfex.Document])
IF FILE(lcDocName)
= pdfDocx.OPENEX(lcDocName," ") &&& Getting error here.
Endif
I don't have any control over the creation of the .PDF document as it is created by some other process in .NET. I need to open it and append another static .PDF document to it before it is made available to the user.
I am under pressuer to deliver this as the need is urgent.
Any help is highly appreciated.
Thanks for your help and time
Greetings.
I am using the following code (in VFP 8.0) to open a .PDF file. It is working fine as long as the .PDF doesn’t contain any embedded fonts. It is giving error “OLE IDispatch exception code 65535 from CDINTF~1: Error opening PDF document.”.
Here is the code I am using to open the .PDF document.
lcDocName = “C:\pdfdocs\test.pdf”
pdfDocx = CREATEOBJECT([cdintfex.Document])
IF FILE(lcDocName)
= pdfDocx.OPENEX(lcDocName," ") &&& Getting error here.
Endif
I don't have any control over the creation of the .PDF document as it is created by some other process in .NET. I need to open it and append another static .PDF document to it before it is made available to the user.
I am under pressuer to deliver this as the need is urgent.
Any help is highly appreciated.
Thanks for your help and time