Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write some data to excel 2003 from C#.
I installed windows xp on a machine,visual studio.net and office 2003 from scratch to be sure everything is ok. I also install of course .NET programmability support for the office I write in C#: Excel.Application app = new Excel.Application(); app.visible=true; app.Workbooks.Open("c:/data.xls", System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value, System.Reflection.Missing.Value) when i run it the first two lines work good and it goes to Open function a COMException come up telling me "old format or invalid type library", i also tried _Open function but the same thing happened. I f i use an event in the Application object everything works fine. PLEASE HELP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does this fail with an invalid type error | Excel Programming | |||
object library invalid | Excel Programming | |||
MISSING: shappmgrp 1.0 Type Library | Excel Programming | |||
MISSING:shappmgrp 1.0 Type Library | Excel Programming | |||
mail message 1.0 Type library | Excel Programming |