Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I use the Amyuni PDF Converter in VFP?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00613269
Message ID:
00613519
Views:
15
>How do I use the Amyuni PDF Converter or PrintToPDF.prg ? can you sand me for some example?

1) Install Amyuni PDF Converter per the instructions from Amyuni (very simple to install)

2) To be able to use the ActiveX interface, register the CDINTF.DLL on your computer by running REGSVR32 CDINTF.DLL from the command prompt. REGSVR32.EXE is usually located in your Windows System folder. You may have to type the full path, like this C:\WINDOWS\SYSTEM\REGSVR32.EXE CDINTF.DLL. Do this from a command prompt in the folder where you installed Amyuni, i.e. the folder where CDINTF.DLL is located. You should get a popup window saying registration was successful.

3) If you're using my PrintToPDF.PRG (FAQ#658), just call it from your VFP app like this
PrintToPDF( "myReport", "myPDFFile")
where "myReport" is the name of your VFP report and "myPDFFile" is the name of the PDF file you want to create. If you omit the second parameter the PDF file will be the name of the report plus ".PDF".
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform