Hello everyone,
I have a simple question, that may have not so simple answer.
I want to use FoxPro report from ASP.NET
I know how to convert FoxPro report to PDF (printing to PostScript file and conversion using GhostScript)
The problem is that for interoperability with ASP.NET, FoxPro classes should be build (to my level of knowledge) as multi-threaded inprocess COM Server. compilation results in DLL file. And when compiled in inprocess COM server, all classes automatically work in Unattended Server Mode (SYS(2335) returns 0).
When FoxPro runs in this mode it cannot use the SET PRINTER Command.
So problem is how to print from a FoxPro class that is used by .NET
My ideas for workarounds:
1. Printing from another COM class build as out-process COM server (EXE file)
2. Refactor the report as crystal reports one.
I would like if someone has a better idea, to share it :)
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!