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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

close a pdf or trap for error from VFP

Status
Not open for further replies.

taterday

Programmer
Jan 28, 2009
183
US
I have a VFP applicaton using Crystal Reporting. I need to write to an Adobe PDF. My problem occurs when I try to generate the file again without closing the previous report in the Adobe PDF.

dialog box
Program Error
File access is denied "location"\crystal reports activex designer - file name.pdf

How can I trap for this error or better still; prevent it by closing the pdf.

Thank you,

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top