Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with vfp6 and dopdf7 please

Status
Not open for further replies.

FMSOFT

Programmer
May 31, 2013
7
ZA
Hi there, Kindly assist please. I generate my vfp6 reports to PDF files using Dopdf7. I need a way to automatically fill in the PDF filename, instead of it defaulting to 'visual foxpro.pdf', I curently use the Keyboard command but this does NOT work so hunky-dorry. Any alternatives please. I thank you kindly in advance for any assistance is this regard.
 
As far as I know, you can't do this interactively within DoPDF7 itself. The end-user sees a Save As dialogue, where they navigate to a folder and enter a filename, and you can't communicate with that from within your app.

However, you can set the filename programmatically if you are using the novaPDF SDK. In that case, check the documentation for the SetOptionString() method. In general, this lets you set various parameters for the conversion, including the name and destination of the target PDF file.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top