Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Nov 15, 2019 11:02 am

the below directory is not working can you solve this problem

workbook.LoadFromFile(Directory.GetCurrentDirectory() + @"\Most\db\t4.xls");

error:
System.IO.IOException: 'The process cannot access the file 'C:\Workspace\WindowsApplications\ReadWriteExcelData\MostIdea.ExcelDataCommunication\bin\Debug\Most\db\t4.xls' because it is being used by another process.'

with regards

hafizullah.ozgur
 
Posts: 7
Joined: Wed Nov 13, 2019 1:28 pm

Mon Nov 18, 2019 6:18 am

Hi,

Thanks for your inquiry and sorry to reply late for weekend.
It is impossible to read or write the Excel file using Spire.Xls when the file is occupied by other processes. There will be an exception. Please make sure the file has not been occupied by any other processes, then Spire.Xls could operate it.
Any question, welcome to contact us.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Thu Dec 26, 2019 10:42 am

Hi,

Greetings from E-iceblue.
How's your issue doing? Could you please give us some feedback at your convenience?

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.XLS