Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing VFP app from .NET and printing
Message
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01657967
Message ID:
01658102
Views:
51
>Hi,
>
>I have a routine where the ASP.NET application executes a VFP 9 application (exe file) which connects to the server, finds a record and then prints it as a report. This routine works for many customers.
>
>But I run into this one case where the VFP application executes but nothing is printed. I did the following tests:
>1. When I run this executable from the command prompt, it works, the record is printed.
>2. I have test code in the executable that writes a log of various points in the program. When the executable is run from the ASP.NET application, the log is completed; all points. The point of connecting to the SQL Server, finding a records, etc. One point is specifically right before the command REPORT FORM ..... and the log has this point. But the REPORT FORM prints nothing.
>3. I created a dummy report, that has not data. Simply says "Test Report". So, I REPORT FORM this dummy FRX but it does not print either.
>
>Any idea what maybe missing?
>
>TIA

The mystery seemed to have been resolved. Now the printed reports go to the customer printer, without me changing anything in the program or on the server. I don't know why and how. But the customer informed me that he now gets the reports on his printer.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform