Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commandclauses.file = full develpment path prevent deploy
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Commandclauses.file = full develpment path prevent deploy
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01014156
Message ID:
01014156
Vues:
70
I build the following code in a project to an exe which I then call from a vfp 9 mtdll that is called from an asp page. On my development machine I get a great html stream displayed on the IE browser. When I deploy this on a test machine the target file is created but is empty so nothing is returned.

Define Class getreport as Custom OlePublic
...
...
SELECT * from category INTO CURSOR asdf ORDER BY 5
loListener = .Null.
DO (_ReportOutput) WITH 5, loListener
loListener.quietmode = .t.
REPORT FORM tryprint OBJECT loListener
X=FILETOSTR(lolistener.targetfilename)
REturn X

I have found that the "loListener.commandclauses.file" property contains the development machine's full path reference to the frt and frx of "tryprint". Of course this file path is not on the deployment test machine. If I create the folders and put the frx/frt files on the deployment box the exe performs correctly. The frx is included in the project when the exe is built.

Why should I need to also have copies outside the exe???
What am I missing.
Paul Emery
theoakgrove@lansing.com
the Oakgrove Computer Group, Inc.
Grand Rapids, Michigan, USA
1-616-456-7133
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform