Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / December 2003

Tip: Looking for answers? Try searching our database.

Excel 11.0 object library conflict

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ramon - 29 Dec 2003 13:00 GMT
I would like to import some Excel data and are using Excel
2003 on my development system. The workstations using this
application have Excel 2000 installed. Because of this the
Excel 11.0 object reference is not working on the
workstations. I tried to include the Excel 9.0 object
library but after making a setup for the application,
setup is still including the 11.0 libraries.

Is it possible to run the application with the Excel 11.0
object library on a system with Excel 2000 installed?!

Thanx!

Ramon

P.S.: if possible, please reply to my email address
Paul Clement - 29 Dec 2003 14:15 GMT
¤ I would like to import some Excel data and are using Excel
¤ 2003 on my development system. The workstations using this
¤ application have Excel 2000 installed. Because of this the
¤ Excel 11.0 object reference is not working on the
¤ workstations. I tried to include the Excel 9.0 object
¤ library but after making a setup for the application,
¤ setup is still including the 11.0 libraries.
¤
¤ Is it possible to run the application with the Excel 11.0
¤ object library on a system with Excel 2000 installed?!
¤

Typically you need to use the type library of the lowest version supported. You can't include
references to multiple versions.

The other alternative is to use late binding (no library references) by using the generic Object
variable instead of type specific objects (such as Excel.Application).

HOW TO: Use Visual Basic .NET for Binding for Office Automation Servers
http://support.microsoft.com/default.aspx?scid=kb;EN-US;304661

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.