Microsoft Excel 10.0 Object Library

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
hema3iAsked:
Who is Participating?
 
hema3iAuthor Commented:
i forget to mention that i'had  office xp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.