473,588 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel 2003

What Office (2003) software (dll's) is required to programmaticall y (C#
..Net) generate an excel file on a production server that does not have any
office software installed on it?

Can I use only the office SDK or do I require an installation of office?

Is it possible I can only install the dll's required to do the automation?

Thanks in advance

Ollie

Jan 8 '06 #1
5 1337
In article <uN************ **@TK2MSFTNGP10 .phx.gbl>, Ollie Riches wrote:
What Office (2003) software (dll's) is required to programmaticall y (C#
..Net) generate an excel file on a production server that does not have any
office software installed on it?
That's the wrong question.

You should be asking "Is this legal".

The answer would be "No", at least if you plan to distribute the DLLs w/o
purchasing a full copy of Office for the computer.

If you have a legal copy of Office for the server, why not install it rather
than worry over what bits are or aren't required to do what you want?

Can I use only the office SDK or do I require an installation of office?

Is it possible I can only install the dll's required to do the automation?

Thanks in advance

Ollie


--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
=============== =============== =============== ===

Jan 8 '06 #2
Take a look at Office Web Components (OWC). Read the licensing details (if
you can possibly interpret them!)
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Ollie Riches" wrote:
What Office (2003) software (dll's) is required to programmaticall y (C#
..Net) generate an excel file on a production server that does not have any
office software installed on it?

Can I use only the office SDK or do I require an installation of office?

Is it possible I can only install the dll's required to do the automation?

Thanks in advance

Ollie

Jan 9 '06 #3
You can't use Excel with only the interop dll. You need to have Excel
completely installed.

Why? because the interop dll only calls a Excel process thats been
started using DCOM.

If you want this using ASP.NET I suggest you don't (or use the new .net
2005 word interop's) because its really a pain in the ass because of
security and the running processes. If your program fails the process
won't be terminated!

Jan 9 '06 #4
Hi Ollie,
What Office (2003) software (dll's) is required to programmaticall y (C#
..Net) generate an excel file on a production server that does not have any
office software installed on it?


The easiest way is probably to generate an Excel workbook in xml form. The
easiest way to do that is to create a workbook on a client machine and save it
as xml. Then manually edit the xml, add some bookmark IDs and save it on the
server. Then the server process and read the xml, find/replace the bookmark
IDs with actual data and save it. If you're lucky, you'll get a readable Excel
workbook.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev
Jan 9 '06 #5
Check out this website:
http://msdn.microsoft.com/library/de...dc_oxppias.asp

greetz,
Dries

Ollie Riches wrote:
What Office (2003) software (dll's) is required to programmaticall y (C#
.Net) generate an excel file on a production server that does not have any
office software installed on it?

Can I use only the office SDK or do I require an installation of office?

Is it possible I can only install the dll's required to do the automation?

Thanks in advance

Ollie

Jan 9 '06 #6

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

Similar topics

17
6326
by: Mansi | last post by:
I need to do some research on how to use excel automation from c#. Does anyone know of any good books related to this subject? Thanks. Mansi
3
1809
by: Atley | last post by:
I am trying to create a new spreadsheet in Excel using VB.net 2003. This application has to be useable by a range of users running anywhere from Excel 2000 to Excel XP to Excel 2003. My dev machine has Excel 2003. How do I get the libraries for the earlier version of Excel? VB.net 2003 has Excel 5.0 library in it, but I cannot find any documentation on that particular library set anywhere. It doesn't allow me to put information in
1
1704
by: Troy | last post by:
I have VB.Net code that opens Excel files and imports data from them. It works fine for all versions up to 2003 and has for over a year. We have users updating to Office 2003 and the Excel automation breaks on those machines. Does coding to the earliest supported version of Excel not apply once you get to 2003?
2
2877
by: sherifffruitfly | last post by:
Hi, I'm using an adaptation of excel-reading code that's all over the internet - I don't much like or understand it, but it has worked for me in the past.... beggars can't be choosers... : Excel.Application excelObj = new Excel.Application(); Excel.Workbook theWorkbook = excelObj.Workbooks.Open(path+filename, 0, true, 5, "", "", true, Excel.XlPlatform.xlWindows, "\t", false,
0
4104
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 OS, but after I discovered that it won't run on a system with Office 2003, I uninstalled Office 2007 and installed Office 2003. I reset the reference in .Net to the Microsoft Excel 11.0 Object Library. The application works fine from the ..Net...
1
1324
by: ypap1 | last post by:
I am using Microsoft Excel 2002 with Microsoft Excel library 10 but when I try to run my VBA code in Excel 2003 (comes with office 2003) it does not work. I have imagined that the reason lies with the difference in libraries because Excel 2003 uses MS Excel library 11 instead of 10. Is there a way to insert Microsoft Excel library 10 to 2003 Excel version or Microsoft Excel library 11 to 2002 Excel version? Yiannis
15
5334
by: =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= | last post by:
Hi All, We are in the process of Upgrade Excel 2003 (Office 2003) to Excel 2007 (Office 2007) for one of web application. This web application is using Excel (Pivot Table) reports. With Excel 2003 application (Reports) works ok. But when Office 2003 is upgraded to Office 2007 Excel reports stops working. It Log the error “Exception from HRESULT: 0x800A03EC.” In database.
2
1636
by: smtwtfs007 | last post by:
Guys, I am having problems with Excel 2000 to Excel 2003 dll in production. I am having version 2003 in my PC and I used the below code change to open password protected excel files in my application. My application is in ASP.NET From: objExcel = New Excel.Application
0
1688
by: smtwtfs007 | last post by:
Guys, I am having problems with Excel 2000 to Excel 2003 dll in production. I am having version 2003 in my PC and I used the below code change to open password protected excel files in my application. My application is in ASP.NET From: objExcel = New Excel.Application
4
3972
by: =?Utf-8?B?THluZXJz?= | last post by:
Hello All, We have a VB.NET application writen using VS 2003. This application apens an excel file from a vendor, reads the data and performs whatever functions it needs. We recently upgraded our sytems to Excel 2003 from Excel 2000. Our application started erroring out because it was having a problem with opening the Excel file. From troubleshooting, the exact problem is in Excel 2003, it does not like the sheet name (even though the...
0
7860
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7984
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8223
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5726
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3847
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2371
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1195
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.