Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Many2PDF from FoxPro?
Message
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01406218
Message ID:
01406237
Views:
94
For testing, put Many2PDF Activex on a form, name it 'oMany2PDF' and put following code in a button on the form
lcCurDir = FULLPATH("")
CD "C:\Program Files\Gnostice\Many2PDF ActiveX.NET"
lcRtfFile = GETFILE("RTF", "Pick RTF to covert")

CD (lcCurDir)

IF NOT EMPTY(lcRtfFile)
	WITH Thisform.oMany2PDF
		.PrefShowSetupDialog = .F.
		.PrefOpenAfterCreate = .T.
		.InputFile = lcRtfFile 
		.OutputPDFFileName = FORCEEXT(lcRtfFile, "PDF")
		.RenderDocument()
	ENDWITH	

ENDIF
>
>Thanks in advance for any help, I'm trying to use Many2PDF to generate PDF from RTF files, I think my declaration code is wrong or something is missing because I cannot make it work. Basically my project is to generate PDF files from RTF.
>
>Thanks a lot for any help.
>
>Juan
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform