I am creating an Excel file for the web in a LotusScript agent. The agent is aborting on Excel PageSetup commands.
We have Office 2003 installed on the Domino 6 server and Windows 2000 operating system. We have a printer installed on the server.
We’re not having the problem on a Domino 6 server with Windows 2003 operating system.
Thanks for any help.
Subject: You might reconsider the Excel Installation
Hi Emily,typically we try to keep servers clean of client applications, so you must have very relaxed admin .
What you can do:
Let your agent create a HTML file that would be good enough to be opened in Excel. The output that using Print. Set the content-type to Excel before:
Print “Content-Type:text/plain”
Print “Content-Type:application/vnd.excel”
This opens the Excel client side and you don’t have the dependency problems on the server.
You also could consider to resort to Java. The Apache project has the POM classes that can create Excel files (including formula).
Another possibility is using a commercial excel compatible product:
http://www.reportingengines.com/
or
I worked with reportengines but not with the other one. I liked it a lot.
stw