Click here to Skip to main content
15,906,574 members
Home / Discussions / C#
   

C#

 
GeneralRe: string versus String ! Pin
Scott Dorman14-Aug-09 5:27
professionalScott Dorman14-Aug-09 5:27 
GeneralRe: string versus String ! Pin
PIEBALDconsult14-Aug-09 7:58
mvePIEBALDconsult14-Aug-09 7:58 
GeneralRe: string versus String ! Pin
Luc Pattyn14-Aug-09 8:20
sitebuilderLuc Pattyn14-Aug-09 8:20 
GeneralRe: string versus String ! Pin
PIEBALDconsult14-Aug-09 8:41
mvePIEBALDconsult14-Aug-09 8:41 
GeneralRe: string versus String ! Pin
Luc Pattyn14-Aug-09 10:22
sitebuilderLuc Pattyn14-Aug-09 10:22 
GeneralRe: string versus String ! Pin
harold aptroot14-Aug-09 10:30
harold aptroot14-Aug-09 10:30 
GeneralRe: string versus String ! Pin
Luc Pattyn14-Aug-09 10:42
sitebuilderLuc Pattyn14-Aug-09 10:42 
GeneralRe: string versus String ! Pin
PIEBALDconsult14-Aug-09 10:51
mvePIEBALDconsult14-Aug-09 10:51 
AnswerRe: string versus String ! Pin
_Q12_14-Aug-09 5:44
_Q12_14-Aug-09 5:44 
AnswerRe: string versus String ! Pin
murktinez14-Aug-09 8:06
murktinez14-Aug-09 8:06 
QuestionHow can i detect if a path is valid. Pin
Saksida Bojan14-Aug-09 3:46
Saksida Bojan14-Aug-09 3:46 
AnswerRe: How can i detect if a path is valid. Pin
picazo14-Aug-09 4:03
picazo14-Aug-09 4:03 
AnswerRe: How can i detect if a path is valid. Pin
Luc Pattyn14-Aug-09 4:08
sitebuilderLuc Pattyn14-Aug-09 4:08 
GeneralRe: How can i detect if a path is valid. Pin
Saksida Bojan14-Aug-09 5:05
Saksida Bojan14-Aug-09 5:05 
QuestionC# and JavaScript. [modified] Pin
Evgeni5714-Aug-09 3:34
Evgeni5714-Aug-09 3:34 
AnswerRe: C# and JavaScript. Pin
Evgeni5717-Aug-09 1:41
Evgeni5717-Aug-09 1:41 
QuestionLogging Pin
Saksida Bojan14-Aug-09 3:02
Saksida Bojan14-Aug-09 3:02 
AnswerRe: Logging Pin
0x3c014-Aug-09 3:20
0x3c014-Aug-09 3:20 
If you use Vista, then you can use its Application Recovery to recover from a crash. There's an article on CP for it here: Vista Application Crash Recovery in C#[^]

If you're going to save data, then I would make it as simple as possible. If you've got the Exception object, then the stack trace, exception type name and exception message would be a good start. You'd also want to get that for the InnerException, if it's not null. For the purposes of error logging, I'd just serialisation. It's still easily emailable, can be saved into XML format, and will have the data you need. And there's very little which can go wrong with it, so you're highly unlikely to get an exception, which would trigger the exception handler, which would raise an exception, which would trigger the exception handler ad infinitum.

Obviously if your application handles secure data, then you've got to save it in encrypted format. This can still use serialisation; you just need to save it to a CryptoStream instead of a FileStream

Between the idea
And the reality
Between the motion
And the act
Falls the Shadow

QuestionAccess OleDb on x64 Pin
V.14-Aug-09 2:43
professionalV.14-Aug-09 2:43 
AnswerRe: Access OleDb on x64 Pin
Hristo-Bojilov14-Aug-09 22:20
Hristo-Bojilov14-Aug-09 22:20 
GeneralRe: Access OleDb on x64 Pin
V.17-Aug-09 23:43
professionalV.17-Aug-09 23:43 
Questionlog4net doesn't log in myProcess.OutputDataReceived Pin
buchstaben14-Aug-09 1:53
buchstaben14-Aug-09 1:53 
QuestionSqlDataReader-Ouput Parameter And SqlConnection Pin
Nagaraj Muthuchamy14-Aug-09 1:12
professionalNagaraj Muthuchamy14-Aug-09 1:12 
AnswerRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Ashfield14-Aug-09 1:17
Ashfield14-Aug-09 1:17 
GeneralRe: SqlDataReader-Ouput Parameter And SqlConnection Pin
Nagaraj Muthuchamy14-Aug-09 1:25
professionalNagaraj Muthuchamy14-Aug-09 1:25 

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

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