Posted 24 February 2023, 1:46 am EST - Updated 24 February 2023, 1:53 am EST
When the CurrentCulture is English(Switzerland)[/code], en-CH, LCID=4096 the OpenExcel function fails to open the file, because internally throws CultureNotFound on constructing from LCID( new CultureInfo(4096)).
An example in VB.NET:
Dim spread = New FpSpread() System.Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo("en-CH") Dim isOpen = spread.OpenExcel("file.xlsx")
Here isOpen is false.
If the CurrentCulture is en-us for example same file is properly open.
Tried versions are v15 and v16