473,414 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Create Excel without installing MS office

Hi,

I'm developing a webservice whicg reads data from a database and exports to
a excel sheet. This applciation works if i have MS Office installed in my
system . Since i'm unable to install MS Office in teh server is there any
alternate way to program this.

Thanks in advance
Priya
Jun 13 '07 #1
4 8520
On Jun 13, 2:47 pm, Priya <P...@discussions.microsoft.comwrote:
Hi,

I'm developing a webservice whicg reads data from a database and exports to
a excel sheet. This applciation works if i have MS Office installed in my
system . Since i'm unable to install MS Office in teh server is there any
alternate way to program this.

Thanks in advance
Priya

I assume you are using the automation libraries of Excel. I believe
in this case that it requires Excel to be installed.

You may need to consider using a third party library, I think there
are a number of them available.

Jun 13 '07 #2
You should be able to create Excel files for consumption by at least the
2007 versions of Office by using the new OpenXML file formats.

Here is a CodePlex project that describes itself as "The convenient way to
create SpreadsheetML OOXML on the server"

http://www.codeplex.com/ExcelPackage

Thanks,
Eric

"Priya" <Pr***@discussions.microsoft.comwrote in message
news:9A**********************************@microsof t.com...
Hi,

I'm developing a webservice whicg reads data from a database and exports
to
a excel sheet. This applciation works if i have MS Office installed in my
system . Since i'm unable to install MS Office in teh server is there any
alternate way to program this.

Thanks in advance
Priya
Jun 14 '07 #3
Also saw this link today on Larkware:
http://spreadsheetgear.com/
"Priya" <Pr***@discussions.microsoft.comwrote in message
news:9A**********************************@microsof t.com...
Hi,

I'm developing a webservice whicg reads data from a database and exports
to
a excel sheet. This applciation works if i have MS Office installed in my
system . Since i'm unable to install MS Office in teh server is there any
alternate way to program this.

Thanks in advance
Priya
Jun 14 '07 #4
You have several lite options:

- Use the XMLSS format, is compatible with Office 2002 or later, and there
is a trick to create an XSL to combine it with a dataset (XML). If you don't
have to include images, or macros, or charts, this options rocks !!!, here is
a link that explains step by step how to do it:

http://support.microsoft.com/kb/278976

- Return the info in CSV format.

- Return an HTML but in the mimetype say that is excel (I think excel 2002
or later just read the file and show it as Excel).

- Use a third partie tool or call via WebServices to Reporting Services.

/// ------------------------------
/// Braulio DÃ*ez
///
/// http://www.tipsdotnet.com
/// ------------------------------


"Priya" wrote:
Hi,

I'm developing a webservice whicg reads data from a database and exports to
a excel sheet. This applciation works if i have MS Office installed in my
system . Since i'm unable to install MS Office in teh server is there any
alternate way to program this.

Thanks in advance
Priya
Jun 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: James Baker | last post by:
Here's my situation. I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export...
1
by: Bob N5 | last post by:
I am working on an application that uses interop to do some simple operations with both Excel and Word. I have most of functionality working, but ran into issues on making things work with both...
3
by: DC Gringo | last post by:
Allison (or others), thank you for the advice...a few more questions: - I have tested on my workstation on Excel XP and my application references the Excel 10.0 Object Library. I was told the...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
2
by: kalaivanan | last post by:
hi, i did not the office version of the system in which the application is going to be deployed. is there any way of opening an excel file which is office independent. My requirement is that i...
4
by: mina | last post by:
One of my client want to export data into excel file but he can not installed office just installed excel and want to export file into ..xls format at that time he got error .... Retrieving the...
2
by: Senthil | last post by:
Hi All I need to create an Excel report and create a command button and have to run a macro on the click event that will print all the pages in the Excel workbook. I am able to create the report...
0
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
3
by: =?Utf-8?B?VGVycnkgSG9sbGFuZA==?= | last post by:
Not sure if this is the most appropriate group - feel free to redirect me. If I have a web application that needs to programatically create and manipulate office documents (word & excel), what...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.