T
tolkien
Hello and happy new year!!!!
I need some help...
I have the following code:
xlApp = new Excel.Application();
xlWorkBook = xlApp.Workbooks.Open(fileName, 0, true, 5, "", "",
true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t",
false, false, 0, true, 1,true);
It works fine on some machines but on others it throws an exception:"
HRESULT 0x800A03EC"
If i change the last argument to false it throws an exception:"{"The
file cannot be opened because your virus scanner has detected a
problem with the file."}"
I tried setting all parameters to System.Reflection.Missing.Value but
nothing..
Any ideas?
Thanks in advance!!!
I need some help...
I have the following code:
xlApp = new Excel.Application();
xlWorkBook = xlApp.Workbooks.Open(fileName, 0, true, 5, "", "",
true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t",
false, false, 0, true, 1,true);
It works fine on some machines but on others it throws an exception:"
HRESULT 0x800A03EC"
If i change the last argument to false it throws an exception:"{"The
file cannot be opened because your virus scanner has detected a
problem with the file."}"
I tried setting all parameters to System.Reflection.Missing.Value but
nothing..
Any ideas?
Thanks in advance!!!