WPCubed Product Support

Export to PDF not working (Trial Version of TextDynamic, Vis

support

I am sorry, I cannot test fox pro myself.

It can have various reasons the file is not created. You can also execute the "DiaExportToPDF" action to open the PDF export dialog - using wpaProcess.

If you just need to convert a document to PDF you would need TextDynamicServer (RTF2PDF), not TextDynamic.

#4 ♥ 0
7.6k Views 2 users read 1 min
support

I guess the "Print" does not create a PDF, please use Export. In some IDs Print is taken by the runtime and will not execute the internal method.

#2 ♥ 0

I am using the trial version of the TextDynamic control in a Visual FoxPro 9 form and am trying to export the contents of the editor to a PDF file. This is the code I am running

oPDF = GETINTERFACE(Thisform.oleControl1.PDFCreator, "{C6B1B485-6EB5-4360-9C19-7BCBA4E43529}", "WPTDynInt.ocx")
If Not IsNull(oPDF)
oPDF.PDFFile = "C:\O32\2014P3\Opera32\DEMODATA\GRE0001_DebtorLetter1.pdf"
oPDF.Print()
oPDF = NULL
EndIf

The code runs without error but the PDF file is not being created. I really need this to work before I can make the decision to purchase the product or not.

#1 ♥ 0