Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Reports on unattended server
Message
De
06/02/2009 14:12:20
Ken Knorr
Logos Management Software
Ventura, Californie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01379872
Message ID:
01379885
Vues:
39
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform