Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Reports on unattended server
Message
From
06/02/2009 14:12:20
Ken Knorr
Logos Management Software
Ventura, California, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01379872
Message ID:
01379885
Views:
38
>You have to bulid COM EXE not DLL.
>
>>I'm trying to run a report from a unattended server, I'm getting error 2031 user-interface operation not allowed.
>>
>>set printer to name (lcprintername)
>>select _frxqury
>>report form (lcreportname) noconsole off to printer
>>
>>if I do a sys(2335,1) before this it will print the report and error out, looking at task bar i see a task named "Open" which I have to terminate.
>>

The server is a regular exe, I set sys(2340,0) and sys(2335,0) at start of program. I then launch this exe from my main application and it sits in background processing commands from a dbf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform