Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Producing reports to file from VFP COM via ISAPI/ASP
Message
De
28/06/2002 06:19:47
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
28/06/2002 06:09:05
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00673190
Message ID:
00673191
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>I have the following problem:
>From a VFP7 SP1 COM I want to execute command like the following:
>
>report form [FRXname] to file [filename.ps] noconsole
>
>
>I instantiate the VFP COM via FoxISAPI.dll. When I try to execute the code above I receive error "User interface operation is not allowed at this time".
>
>More information:
>
>The SYS(2335) setting is 0 - unattended mode. The operating system is Win2k Server, IIS5 SP2 + fix for CodeRed. File system is NTFS. The IUSR_account has read and execute rights to the directory with the FRX and full rights to the directory whether i try to produce the output file. I use HP Color LaserJet 8500 PS driver set to FILE: port. Everyone has rights to print documents to this printer, it is default printer.
>
>When I try to run the above command from development environment of VFP it succeeds. I do not have any modal states (dialog boxes asking me to do something) when printing from development environment with this command. However I have noticed that for a short time a messagebox with the following contents appears:
>


>Printing...
>Printing: [FRXname]
>Page: [pagenumber]

Hello Zlatin
If you are able to read Russian, I solved this problem and published at Russian VFP site www.nsvisual.com/fox2 , Zhravlevskie istorii, Missia vipolnima
I ran VFP reports inside IIS and personal web
>Cancel

>


>In the text above [FRXName] stands for the name of the report file (FRX) - I have tryed both with absolute and relative paths.
>[filename.ps] is the name (again have tryed both absolute and relative) of the output file
>[pagenumber] is the number of the currently printed page.
>
>Any ideas how can I print to file from a VFP COM server?
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform