Excel with C# connection -
i have code
exapplication = new excel.application(); excel.workbook wb = exapplication.thisworkbook; wb.connections.addfromfile("c:\test.odc");
and when trying compile it, gives me following exception:
exception hresult: 0x800a03ec
you should replace
wb.connections.addfromfile("c:\test.odc");
by
wb.connections.addfromfile(@"c:\test.odc");
although don't think exception because of this.
Comments
Post a Comment