Shamil
Active member
Hi All,
Im getting the following runtime error while trying to set .Visible property to True of successfully created instance of MS Excel:
<<<
An unhandled exception of type System.Runtime.InteropServices.COMException occurred in WindowsApplication3.exe
Additional information: Old format or invalid type library.
>>>
Im automating MS Excel 2000 and as far as I see the reference is set correctly to "Microsoft Excel 9.0 Object Library" and to "Microsoft Office 9.0 Object Library"..
the Interop assemblies I have locally in my projects obj subforlder are the following:
Interop.Excel.dll 19.03.1999 20:00 942080
Interop.Office.dll 23.02.2000 02:33 155648
As far as I understand they are generated automatically by VS.Net based on MS Excel and MS Office .OLBs, which I set references to. Why they dont work is a real puzzle for me...
Any solution anybody?
TIA,
Shamil
Im getting the following runtime error while trying to set .Visible property to True of successfully created instance of MS Excel:
<<<
An unhandled exception of type System.Runtime.InteropServices.COMException occurred in WindowsApplication3.exe
Additional information: Old format or invalid type library.
>>>
Im automating MS Excel 2000 and as far as I see the reference is set correctly to "Microsoft Excel 9.0 Object Library" and to "Microsoft Office 9.0 Object Library"..
the Interop assemblies I have locally in my projects obj subforlder are the following:
Interop.Excel.dll 19.03.1999 20:00 942080
Interop.Office.dll 23.02.2000 02:33 155648
As far as I understand they are generated automatically by VS.Net based on MS Excel and MS Office .OLBs, which I set references to. Why they dont work is a real puzzle for me...
Any solution anybody?
TIA,
Shamil