i use Microsoft.Office.Interop.Excel to read Excel Here is my code:
System.Globalization.CultureInfo oldCI = System.Threading.Thread.CurrentThread.CurrentCulture;
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("ko-KR");
Excel.Application eApp = new Excel.Application()
Excel.WorkBook oBooks = eApp.Workbooks.Open(fileName)
When it run to Open file Name it show error Old format or invalid type library.
(Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)).How I can fix it. It is a region in Korea and I cant change to en-US
User contributions licensed under CC BY-SA 3.0