Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro reporting from .NET
Message
From
13/12/2004 16:06:09
 
 
To
All
General information
Forum:
ASP.NET
Category:
Migration
Title:
FoxPro reporting from .NET
Environment versions
Environment:
ASP.NET
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00968898
Message ID:
00968898
Views:
52
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!

Next
Reply
Map
View

Click here to load this message in the networking platform