473,382 Members | 1,357 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,382 software developers and data experts.

Excel 2003 in ASP.NET & C#

Hi,

I have installed Office 2000 & Office 2003 on my Machine

I wish to use excel 2003 in my Dot Net Project

When I reference the Microsoft Excel 5.0 Object library the code

using Excel works fine

When i reference the Microsoft Excel 11.0 Object library the code

using Excel gives an error "Type or namespace name 'Excel' could not be
found or missing"

I have taken this project from the previous developer on whose machine the
project is working fine with excel 2003.
Is this a problem because there are two different versions of Office on the
machine
Does anyone know the solution, pls suggest

Regards,
Prasad
Nov 22 '05 #1
1 1647
CMM
It's conceivable that the multi-installation is the culprit. I don't know...
but, my own experience in the past with having to code for multiple versions
of office is that most often it's a lot more helpful to reference the Office
application's .OLB type library rather than their COM registration in the
Registry. Hope that helps.

"Prasad Patil" wrote:
Hi,

I have installed Office 2000 & Office 2003 on my Machine

I wish to use excel 2003 in my Dot Net Project

When I reference the Microsoft Excel 5.0 Object library the code

using Excel works fine

When i reference the Microsoft Excel 11.0 Object library the code

using Excel gives an error "Type or namespace name 'Excel' could not be
found or missing"

I have taken this project from the previous developer on whose machine the
project is working fine with excel 2003.
Is this a problem because there are two different versions of Office on the
machine
Does anyone know the solution, pls suggest

Regards,
Prasad

Nov 22 '05 #2

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

Similar topics

1
by: Prasad Patil | last post by:
Hi, I have installed Office 2000 & Office 2003 on my Machine I wish to use excel 2003 in my Dot Net Project When I reference the Microsoft Excel 5.0 Object library the code using Excel...
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...
5
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved...
0
by: Prasad Patil | last post by:
Hi, I have installed Office 2000 & Office 2003 on my Machine I wish to use excel 2003 in my Dot Net Project When I reference the Microsoft Excel 5.0 Object library the code using Excel...
1
by: Sam Vanderstraeten | last post by:
Hi all, Situation: - ASP.net application, written in VB.net - Excel 2002 installed on server Problem: The application I wrote is an ASP.net webpage that uses Excel to generate some pages....
6
by: Mark Rae | last post by:
Hi, My client has asked me to provide a "quick and dirty" way to export the contents of a DataGrid to both Excel for analysis and Word for editing and printing, so I'm investigating client-side...
0
by: dt | last post by:
I downloaded Microsoft Office 2003 Reference Schemas from: http://www.microsoft.com/downloads/details.aspx?familyid=fe118952-354... Then I tried to use JAXB on them, specifically excel.xsd and...
0
by: Taxman | last post by:
Windows XP, MS Office Excel 2003 If the tasks, I’m trying accomplish have been addressed previously (separately or in combination). Please, provide the links or keyword search to find them. I’ve...
0
by: Noob | last post by:
Hello, I created an ERP based custom report using Access '03 & Excel '03. I developed an Access query that pulls the required data from the ERP (Progress) database via link tables. I use Excel...
1
by: =?Utf-8?B?U3RlcGhhbmU=?= | last post by:
Hello I would like to know if it is possible to return to MS Excel 2003 after you have upgraded to MS Excel 2007? Here below is what occured. 1. I installed MS Office Home and Student 2007...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.