Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Many2PDF from FoxPro?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01406218
Message ID:
01406237
Vues:
93
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform