Skip to main content

All Questions

Tagged with
3 votes
3 answers
119 views

Follow Up: Refactored C# Tool to Generate MS Word Document Mailbox List From MS Excel

Background Some very good observations were made about my original code in the 2 answers to this question. In this version I have attempted to reduce cyclic complexity and class coupling even more as ...
pacmaninbw's user avatar
  • 24k
3 votes
2 answers
673 views

Read sales transactions from Excel

This is a program to read and store the data from a Excel file (.xlsx) which is uploaded by users. Any better approach to reduce the usage of if-else to return the error message? How to design or ...
sky91's user avatar
  • 133
2 votes
1 answer
8k views

Correct way to assign variables before a try/catch/finally

...
Dan's user avatar
  • 585
15 votes
1 answer
124k views

Reading data from Excel sheet with ExcelDataReader

Objective: I want to import an Excel file, and read the rows of certain columns. For this, I use ExcelDataReader. I've implemented a low-level class called ...
user3488442's user avatar
4 votes
1 answer
726 views

Is brute force the accepted best practice for handling Excel COM 'busy' exceptions?

Following on from a question about handling-com-exceptions-busy-codes I would like to know if the following model is the accepted best practice of handling Excel COM busy messages when accessing the ...
Pat Mustard's user avatar
1 vote
2 answers
9k views

Excel instances: release and kill

Please check my code below. I don't have any problems but I'm not aware how far the code will work, release and kill excel instances.. ...
user23165's user avatar