Click here to Skip to main content
15,913,587 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to search strings for special characters as if they were regular characters? Pin
Paul Conrad31-Dec-07 9:24
professionalPaul Conrad31-Dec-07 9:24 
GeneralRe: How to search strings for special characters as if they were regular characters? Pin
PauloMorfeo1-Jan-08 22:10
PauloMorfeo1-Jan-08 22:10 
AnswerRe: Slow repaint of controls Pin
Luc Pattyn16-Sep-07 22:57
sitebuilderLuc Pattyn16-Sep-07 22:57 
QuestionDatatype Issue with .NET DLL Pin
mpavas16-Sep-07 20:57
mpavas16-Sep-07 20:57 
GeneralRe: Datatype Issue with .NET DLL Pin
Paul Conrad31-Dec-07 9:24
professionalPaul Conrad31-Dec-07 9:24 
GeneralRe: Datatype Issue with .NET DLL Pin
mpavas1-Jan-08 20:07
mpavas1-Jan-08 20:07 
QuestionRE: disable an excel menu Pin
dienadel16-Sep-07 16:51
dienadel16-Sep-07 16:51 
AnswerRe: RE: disable an excel menu Pin
Paul Conrad16-Sep-07 17:28
professionalPaul Conrad16-Sep-07 17:28 
GeneralRe: RE: disable an excel menu Pin
dienadel16-Sep-07 18:09
dienadel16-Sep-07 18:09 
QuestionHow to resolve this error: "A history operation is already in progress" Pin
Mushtaque Nizamani15-Sep-07 0:16
Mushtaque Nizamani15-Sep-07 0:16 
AnswerRe: How to resolve this error: "A history operation is already in progress" Pin
Luc Pattyn15-Sep-07 1:30
sitebuilderLuc Pattyn15-Sep-07 1:30 
QuestionTechnologies for multiple-question application form. Pin
walkeraj14-Sep-07 10:52
walkeraj14-Sep-07 10:52 
AnswerRe: Technologies for multiple-question application form. Pin
Pete O'Hanlon16-Sep-07 9:20
mvePete O'Hanlon16-Sep-07 9:20 
Questiondetecting media player Pin
d_smit13-Sep-07 1:04
d_smit13-Sep-07 1:04 
AnswerRe: detecting media player Pin
Kenny McKee25-Sep-07 16:01
Kenny McKee25-Sep-07 16:01 
QuestionVS Designer Integration Pin
Tristan Rhodes12-Sep-07 23:38
Tristan Rhodes12-Sep-07 23:38 
AnswerRe: VS Designer Integration Pin
Dave Kreskowiak13-Sep-07 6:15
mveDave Kreskowiak13-Sep-07 6:15 
QuestionDoubts regarding Exception Throwing Pin
dreamz648012-Sep-07 22:02
dreamz648012-Sep-07 22:02 
AnswerRe: Doubts regarding Exception Throwing Pin
Pete O'Hanlon12-Sep-07 22:20
mvePete O'Hanlon12-Sep-07 22:20 
If you return an error code, you are putting the emphasis on somebody actually reading the error code and doing something with it. At some point, somebody has to say "this is wrong, I need to do something". This is obviously an exceptional case, hence you should really consider designing with an exception.

However, it is perfectly valid to have some logic in your code where you may attempt to do something if the condition fails. For instance, if you are saving an item to a database for a user, it is better to write to an alternative database if you can't get to the master and then synchronize the two later on, than to just fail and tell the user that it's tough but you can't save their work.

Deja View - the feeling that you've seen this post before.

GeneralRe: Doubts regarding Exception Throwing Pin
dreamz648013-Sep-07 1:21
dreamz648013-Sep-07 1:21 
GeneralRe: Doubts regarding Exception Throwing Pin
pmarfleet13-Sep-07 1:35
pmarfleet13-Sep-07 1:35 
GeneralRe: Doubts regarding Exception Throwing Pin
Urs Enzler13-Sep-07 1:36
Urs Enzler13-Sep-07 1:36 
GeneralRe: Doubts regarding Exception Throwing Pin
Scott Dorman13-Sep-07 4:25
professionalScott Dorman13-Sep-07 4:25 
AnswerRe: Doubts regarding Exception Throwing Pin
Luc Pattyn13-Sep-07 1:45
sitebuilderLuc Pattyn13-Sep-07 1:45 
GeneralRe: Doubts regarding Exception Throwing Pin
dreamz648013-Sep-07 3:51
dreamz648013-Sep-07 3:51 

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.