Click here to Skip to main content


GeneralRe: activity-selection algorithm in c# PinmemberPIEBALDconsult27-Jan-13 18:50 
AnswerRe: activity-selection algorithm in c# PinmemberJ4amieC28-Jan-13 1:44 
AnswerRe: activity-selection algorithm in c# Pinmemberpt140128-Jan-13 9:40 
QuestionC# access excel file Pinmemberdcof26-Jan-13 19:24 
In a C# 2010 windows application that I am writing, I am accessing excel 2010 spreadsheets. I am obtaining information about the data contained within the excel spreadsheet from the file name.
My problem occurs when an excel spreadsheet has been openend and not closed properly by the application. The program actually aborts. When I try to access these particular spreadsheets again, there is a try call error that occurs.
Is there some code I can write to check to make certain the excel spreadsheet is ok and there is no problem with the file? If so, can you show me the code and/or point me to a link that will show me how to solve this problem?
SuggestionRe: C# access excel file PinmvpRichard MacCutchan27-Jan-13 1:15 
AnswerRe: C# access excel file PinmvpDave Kreskowiak27-Jan-13 4:44 
QuestionWCF receiving large XML PinmemberAlex Campos Vzla25-Jan-13 12:39 
AnswerRe: WCF receiving large XML PinmvpEddy Vluggen26-Jan-13 4:38 
Questionreading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag Pinmemberdevvvy25-Jan-13 9:52 
AnswerRe: reading NTFS Share permission - how to interpret SHARE_INFO_2.Permissions flag PinmemberAndré Kraak25-Jan-13 11:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 28 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid