Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Generate Excel files on server

Hello,
I want to create a C# application running on a Windows 2003 server. This application retrieves data from a database, performs some modifications then creates an Excel file on a shared folder on the server. Then at any time, users on the network can get the file to see the formatted data.

There is no web involved. It is a service running on the server that creates periodically the Excel file.

Is there a way to do that without having Excel installed on the server?

Thanks,
David.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Generate Excel files on server

How complex is the content? Are there multiple sheets, formulae etc ?
If you can get a handle on the format then you can write out the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you could try
writing it out an an HTML table and giving it an xls extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003 server.

This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on the
server. Then at any time, users on the network can get the file to see
the formatted data.

There is no web involved. It is a service running on the server that

creates periodically the Excel file.

Is there a way to do that without having Excel installed on the

server?

Thanks,
David.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Generate Excel files on server

Hi Tim,
it is quite simple content. A single sheet, no formula. Actually, it reports data on a formated way. i.e. Column Headers (font, color, etc), Date formats, number formats, etc.

I would really like the xml approach but how can I format the worksheet? I don't want to add VBA code in the Excel sheet?

OfficeWriter looks interesting but a bit pricey...

Thanks,
David.

"Tim Williams" wrote:

How complex is the content? Are there multiple sheets, formulae etc ?
If you can get a handle on the format then you can write out the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you could try
writing it out an an HTML table and giving it an xls extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003 server.

This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on the
server. Then at any time, users on the network can get the file to see
the formatted data.

There is no web involved. It is a service running on the server that

creates periodically the Excel file.

Is there a way to do that without having Excel installed on the

server?

Thanks,
David.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Generate Excel files on server

A single HTML table should be fine: XL will render a lot of the same
style information (font size, color, bgcolor etc) used to format HTML
documents.

Even formulas are supported. Check the link below:
http://msdn.microsoft.com/library/de...ml/ofxml2k.asp


Tim.


"David" wrote in message
...
Hi Tim,
it is quite simple content. A single sheet, no formula. Actually, it

reports data on a formated way. i.e. Column Headers (font, color,
etc), Date formats, number formats, etc.

I would really like the xml approach but how can I format the

worksheet? I don't want to add VBA code in the Excel sheet?

OfficeWriter looks interesting but a bit pricey...

Thanks,
David.

"Tim Williams" wrote:

How complex is the content? Are there multiple sheets, formulae

etc ?
If you can get a handle on the format then you can write out the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you could

try
writing it out an an HTML table and giving it an xls extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003

server.
This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on the
server. Then at any time, users on the network can get the file to

see
the formatted data.

There is no web involved. It is a service running on the server

that
creates periodically the Excel file.

Is there a way to do that without having Excel installed on the

server?

Thanks,
David.






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Generate Excel files on server

Is this also supported in Office XP and 2003?

"Tim Williams" wrote:

A single HTML table should be fine: XL will render a lot of the same
style information (font size, color, bgcolor etc) used to format HTML
documents.

Even formulas are supported. Check the link below:
http://msdn.microsoft.com/library/de...ml/ofxml2k.asp


Tim.


"David" wrote in message
...
Hi Tim,
it is quite simple content. A single sheet, no formula. Actually, it

reports data on a formated way. i.e. Column Headers (font, color,
etc), Date formats, number formats, etc.

I would really like the xml approach but how can I format the

worksheet? I don't want to add VBA code in the Excel sheet?

OfficeWriter looks interesting but a bit pricey...

Thanks,
David.

"Tim Williams" wrote:

How complex is the content? Are there multiple sheets, formulae

etc ?
If you can get a handle on the format then you can write out the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you could

try
writing it out an an HTML table and giving it an xls extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003

server.
This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on the
server. Then at any time, users on the network can get the file to

see
the formatted data.

There is no web involved. It is a service running on the server

that
creates periodically the Excel file.

Is there a way to do that without having Excel installed on the
server?

Thanks,
David.








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Generate Excel files on server

Is this also fully supported in Office XP and Office 2003?

"Tim Williams" wrote:

A single HTML table should be fine: XL will render a lot of the same
style information (font size, color, bgcolor etc) used to format HTML
documents.

Even formulas are supported. Check the link below:
http://msdn.microsoft.com/library/de...ml/ofxml2k.asp


Tim.


"David" wrote in message
...
Hi Tim,
it is quite simple content. A single sheet, no formula. Actually, it

reports data on a formated way. i.e. Column Headers (font, color,
etc), Date formats, number formats, etc.

I would really like the xml approach but how can I format the

worksheet? I don't want to add VBA code in the Excel sheet?

OfficeWriter looks interesting but a bit pricey...

Thanks,
David.

"Tim Williams" wrote:

How complex is the content? Are there multiple sheets, formulae

etc ?
If you can get a handle on the format then you can write out the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you could

try
writing it out an an HTML table and giving it an xls extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003

server.
This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on the
server. Then at any time, users on the network can get the file to

see
the formatted data.

There is no web involved. It is a service running on the server

that
creates periodically the Excel file.

Is there a way to do that without having Excel installed on the
server?

Thanks,
David.






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Generate Excel files on server

Is this also supported in Office XP and 2003?

"Tim Williams" wrote:

A single HTML table should be fine: XL will render a lot of the same
style information (font size, color, bgcolor etc) used to format HTML
documents.

Even formulas are supported. Check the link below:
http://msdn.microsoft.com/library/de...ml/ofxml2k.asp


Tim.


"David" wrote in message
...
Hi Tim,
it is quite simple content. A single sheet, no formula. Actually, it

reports data on a formated way. i.e. Column Headers (font, color,
etc), Date formats, number formats, etc.

I would really like the xml approach but how can I format the

worksheet? I don't want to add VBA code in the Excel sheet?

OfficeWriter looks interesting but a bit pricey...

Thanks,
David.

"Tim Williams" wrote:

How complex is the content? Are there multiple sheets, formulae

etc ?
If you can get a handle on the format then you can write out the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you could

try
writing it out an an HTML table and giving it an xls extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003

server.
This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on the
server. Then at any time, users on the network can get the file to

see
the formatted data.

There is no web involved. It is a service running on the server

that
creates periodically the Excel file.

Is there a way to do that without having Excel installed on the
server?

Thanks,
David.






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Generate Excel files on server

I know it's fine in XP: can't say for 2003 but I would suspect that is
also OK. It's easy enough to test.

Tim


"David" wrote in message
...
Is this also supported in Office XP and 2003?

"Tim Williams" wrote:

A single HTML table should be fine: XL will render a lot of the

same
style information (font size, color, bgcolor etc) used to format

HTML
documents.

Even formulas are supported. Check the link below:

http://msdn.microsoft.com/library/de...ml/ofxml2k.asp


Tim.


"David" wrote in message
...
Hi Tim,
it is quite simple content. A single sheet, no formula.

Actually, it
reports data on a formated way. i.e. Column Headers (font, color,
etc), Date formats, number formats, etc.

I would really like the xml approach but how can I format the

worksheet? I don't want to add VBA code in the Excel sheet?

OfficeWriter looks interesting but a bit pricey...

Thanks,
David.

"Tim Williams" wrote:

How complex is the content? Are there multiple sheets,

formulae
etc ?
If you can get a handle on the format then you can write out

the
content as xml and XL 2K(?)+ should be able to open it.

If it's just a straight tabular format on one sheet then you

could
try
writing it out an an HTML table and giving it an xls

extension.

Otherwise look at a component to do the creation:
http://officewriter.softartisans.com...writer-37.aspx
is a good one I think (but haven't used it myself)

Tim


"David" wrote in message
...
Hello,
I want to create a C# application running on a Windows 2003

server.
This application retrieves data from a database, performs some
modifications then creates an Excel file on a shared folder on

the
server. Then at any time, users on the network can get the

file to
see
the formatted data.

There is no web involved. It is a service running on the

server
that
creates periodically the Excel file.

Is there a way to do that without having Excel installed on

the
server?

Thanks,
David.








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked Excel Files - Shared Server [email protected] Excel Discussion (Misc queries) 2 January 16th 12 10:08 AM
Excel 2007 lock files don't go away on the server Andrew Meinolf Excel Discussion (Misc queries) 0 July 17th 09 05:34 PM
Excel files stored on a different server Sri Excel Discussion (Misc queries) 0 February 4th 05 11:25 AM
Generate XLS on server without Microsoft Excel VUILLERMET Jacques Excel Programming 4 November 1st 03 03:15 PM
Macro to generate txt files using Excel Frank[_17_] Excel Programming 4 August 30th 03 03:41 AM


All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"