The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using Syncfusion 3.3.0.0. How can I open an XLS file that is already opened by Excel (without having to mark the XLS file as 'Shared')? We are only interested in reading the contents of the file, so we want to be able to open the file read-only.
MWMelba Winshia Syncfusion Team October 26, 2006 02:39 PM UTC
Hi bvanderw,
Support for opening Excel Spreadsheet in read-only mode been added in the later versions. Would it be possible to upgrade to later versions. Use the following code snippets to open an XLS file that is already opened by Excel.
[C#]
//Opening the file. IWorkbook workbook = excelEngine.Excel.Workbooks.OpenReadOnly(@"..\..\Sample.xls");
Please take a look and let me know if you have any other questions.