Solved

Microsoft Excel 10.0 Object Library

Posted on 2004-04-02
4
351 Views
Last Modified: 2007-10-18
hi when i'm calling

oXL.Workbooks.Open(TemplatePath, 0, true, 5,"", "", true,
                              Excel.XlPlatform.xlWindows ,"\t", true,
                              false,      0, true,true,false);

i got the following error

System.Runtime.InteropServices.COMException (0x80028018): Old format or invalid type library.
   at Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
   at ExcelTest.Form1.CreateExcelTemplateReport(String SavePath, String TemplatePath) in d:\documents and settings\hema jone\my documents\visual studio projects\exceltest\form1.cs:line 121

what is the proplem
0
Comment
Question by:hema3i
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

by:hema3i
ID: 10743166
i forget to mention that i'had  office xp
0
 
LVL 9

Accepted Solution

by:
glsac earned 20 total points
ID: 10752131
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question