Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jignesh Parekh
  Where is Jignesh Parekh?
 Rajkot
 India
 Jignesh Parekh
 To: Rajesh Malhotra
  Where is Rajesh Malhotra?
 Jalandhar
 India
 Rajesh Malhotra
 Tags
Subject: RE: Foxypreviewer
Thread ID: 288566 Message ID: 289308 # Views: 35 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Thursday, December 30, 2010 2:29:02 PM         
   


> Hello Cesar
>
> After compiling the project to EXE , I get an error "FOXYPREVIEWCALLER is not an object" when run the report from EXE and after ignoring it process the the report. Where as in IDE Mode it runs without any error. I have included the "Foxpypreviewercaller.prg " in my project and kept the same "Foxypreviewer.app" in folder from where EXE runs. Following is the code.
>
>
>
SET PROCEDURE TO FoxyPreviewerCaller.prg ADDITIVE 
>  LOCAL loReport as "FoxyPreviewerCaller" OF "FoxyPreviewerCaller.Prg"
>  loReport = CREATEOBJECT("FoxyPreviewerCaller")
>  
>  WITH loReport as ReportHelper
>  	.AddReport("FRXREPORT")
>  	.RunReport()
>  	IF .lSaved
>  		MESSAGEBOX("Report was saved as file:" + CHR(13) + .cDestFile,;
>  			64, ;
>  			"Report status")
>          ENDIF
>  ENDWITH 

>
>
> Please advice what can be the problem.
>
> Best Regards
> Rajesh

Hi Rajesh,

Is your application protected (Refox or Defox)?

Regards,
Jignesh Parekh
--------------------------------------------------------------------------------------------------------------------------------
If better is possible, Good is not enough.

ENTIRE THREAD

Foxypreviewer Posted by Rajesh Malhotra @ 12/22/2010 8:24:06 AM
RE: Foxypreviewer Posted by Cesar @ 12/22/2010 12:18:27 PM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 12/22/2010 4:57:47 PM
RE: Foxypreviewer Posted by Cesar @ 12/22/2010 5:33:58 PM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 12/23/2010 1:23:23 PM
RE: Foxypreviewer Posted by Ugur YILMAZ @ 12/23/2010 3:24:42 PM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 12/24/2010 9:01:26 AM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 12/28/2010 4:35:16 PM
RE: Foxypreviewer Posted by Cesar @ 12/30/2010 1:46:51 AM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 12/30/2010 5:40:12 AM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 1/6/2011 5:55:39 AM
RE: Foxypreviewer Posted by Jignesh Parekh @ 12/30/2010 2:29:02 PM
RE: Foxypreviewer Posted by Rajesh Malhotra @ 12/30/2010 4:18:26 PM