Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Brandy Zdansky
  Where is Brandy Zdansky?
 Corpus Christi
 Texas - United States
 Brandy Zdansky
 To: Koen Piller
  Where is Koen Piller?
 Santpoort-Zuid
 Netherlands
 Koen Piller
 Tags
Subject: RE: Error with FoxyPreviewer.app
Thread ID: 345473 Message ID: 345486 # Views: 36 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Wednesday, May 23, 2012 7:53:20 PM         
   


On my computer, I built an EXE. It works great using "DO FOXYPREVIEWER.APP".

Since it worked as an EXE, I put the EXE on my client's server. When I tested it out, I didn't get very far, and received "Feature not available." However, when I run the program in debug mode on the server, it works. So I'm not sure where and why the error is showing up, since running the program in debug mode doesn't generate the error.

I made sure I had foxypreviewer.app in the same folder as the EXE (it is).

In my start up program, I'm setting up the paths and procedures, once I've got that set up, then I run the DO FOXYPREVIEWER.APP, followed by other commands that get set.

***SMALL SNIPPET OF CODE
CLEAR ALL

public hpdir
hpdir = "f:\abc\fostercare"

SET DEFAULT TO (hpdir)
SET PATH TO (hpdir + '\Data1;' + hpdir;
+ '\Data9;' + hpdir + '\Forms;' + hpdir;
+ '\Reports')
_SCREEN.picture = 'GRAPHICS\ABC4A_2.JPG'
*
_SCREEN.windowstate = 2
DO FORM About WITH 1100
*
DO FOXYPREVIEWER.APP
*
SET EXCLUSIVE OFF
SET REPROCESS TO AUTOMATIC
SET MULTILOCKS OFF
SET CPDIALOG OFF
SET STATUS BAR on
CLEAR GETS
SET REFRESH TO 0, 0
SET FULLPATH ON
SET DEVICE TO SCREEN
SET MOUSE ON
SET LOGERRORS ON
SET BLINK ON
SET TALK OFF
SET VIEW off
SET SAFETY OFF
SET SCOREBOARD OFF
SET SYSMENU OFF
SET DELETED ON
SET BELL OFF
SET DELIMITERS OFF
SET CONFIRM OFF
SET DELIMITERS TO '[]'
SET COMPATIBLE OFF
SET SHADOWS OFF
SET EXACT ON
SET CENTURY ON
SET HOURS TO 24
SET CLOCK STATUS
SET DATE TO MDY
SET BORDER TO DOUBLE
SET READBORDER ON
*****************************************

I hope that's enough of the start up program. I do get the About form (the splash screen), but after it disappears is when I get the error. I had to click "Ignore" at least 10 times, before I just hit the CANCEL button to exit.

Thank you
Brandy


> > Good morning!
> >
> > I have been playing with the FoxyPreviewer.app v2.98b. I am using VFP 9, SP 2 on my machine (Windows Vista Professional). I have used it in the command line to test, as well as include it in my main program. And I LOVE IT! I have also tested it on my client's server. They too have VFP9, SP2. I even grabbed the latest REPORT*.APP files for the server. The Server is running Microsoft Windows Server 2003, SP 2. In the command window, and my program (and ran it in debug mode), it works fine. I get the same results as I did on my machine.
> >
> > However, during deployment, I received "Feature is not available." I get that so many times (after clicking Ignore), I just hit Cancel.
> >
> > I am using the simplified mode - "DO FOXYPREVIEWER.APP" to access the classes.
> >
> > At first, I only made sure foxypreviewer.app was in the same folder as the EXE (it is).
> >
> > Am I going to have to try the complete mode? I know that if I go that route, I'd have to add all the classes, images, header files and foxypreviewer.prg to my project, and compile it.
> >
> > I'd perfer to use the simplified mode, since its, well, SIMPLE. Am I missing something? All I changed in my program was added the line DO FOXYPREVIEWER.APP to my startup program and it worked every way possible except in the deployment environment. My client's users also use Citrix to access the application for remote users. Would this cause a problem?
> >
> > Any help would be greatly appreciated! And thank you for creating this class!
> >
> > Thank you in advance
> > Brandy Zdansky Williams
> Hi,
> not quit clear what is going on.
> You say I run it in dubug mode. Did you not built an pjx, app/exe or dll ? And what happens when you run the file in 'normal'mode?
> Any change to get to know which first line caused the error "Feature etc" ?
> No you dont have to add all the classes (which are all the classes), images (which form FoxyPreviewer or from your application? )
> Regards,
> Koen

ENTIRE THREAD

Error with FoxyPreviewer.app Posted by Brandy Zdansky @ 5/23/2012 5:44:54 PM
RE: Error with FoxyPreviewer.app Posted by Koen Piller @ 5/23/2012 7:24:27 PM
RE: Error with FoxyPreviewer.app Posted by Brandy Zdansky @ 5/23/2012 7:53:20 PM
RE: Error with FoxyPreviewer.app Posted by Cesar @ 5/23/2012 11:56:50 PM
RE: Error with FoxyPreviewer.app Posted by Koen Piller @ 5/24/2012 12:02:55 AM
RE: Error with FoxyPreviewer.app Posted by Brandy Zdansky @ 5/24/2012 5:29:51 PM