Solved

Microsoft Excel 10.0 Object Library

Posted on 2004-04-02
4
362 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

622 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