Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Randy Godfrey
  Where is Randy Godfrey?
 New Liskeard, ON
 Canada
 Randy Godfrey
 Tags
Subject: Foxypreviewer error when emailing
Thread ID: 393801 Message ID: 393801 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Monday, December 23, 2013 8:05:34 PM         
   


I installed FoxyPreviewer and love its features but ran into a little problem trying to email from the toolbar.
Using version "v2.99z30 RC 2013.09.12"

do foxypreviewer.app
with _screen.foxypreviewer
.nEmailMode = 4
.cEmailType = 'PDF'
.cEmailPRG = 'email.prg'
endwith
REPORT FORM reports\pat_statement

Report shows in previewer without any problems but when the email button is clicked the following error is generated:

message: Property GETFULLFRXDATA is not found
in program: EXTENSIONHANDLER.DOMAKEPDFOFFLINE
at line: m.lcOutputDBF = _goFP.oListener.GetFullFRXData()

It almost appears that the wrong listener class is being used at this point.
Note that if I run:

REPORT FORM reports\patient_statement OBJECT TYPE 10 TO FILE 'testpdf.pdf' preview

the pdf file is generated without any errors. Also changing the cEmailType property to 'HTML' or 'RTF' generates the same error.

Is there a setting I am missing or something else I should be doing to get this to work?

Randy

Ok - found the problem. In my report procedure I defined a preview form rather than letting Foxypreviewer use its own. Not a good idea evidently.

ENTIRE THREAD

Foxypreviewer error when emailing Posted by Randy Godfrey @ 12/23/2013 8:05:34 PM