Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commandclauses.file = full develpment path prevent deploy
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Commandclauses.file = full develpment path prevent deploy
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01014156
Message ID:
01014156
Views:
69
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
Next
Reply
Map
View

Click here to load this message in the networking platform