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.