Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to send letters like é § è ç to the serial com port? Pin
Nader Elshehabi11-Sep-06 6:09
Nader Elshehabi11-Sep-06 6:09 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim11-Sep-06 20:45
faladrim11-Sep-06 20:45 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
Nader Elshehabi11-Sep-06 21:23
Nader Elshehabi11-Sep-06 21:23 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim11-Sep-06 22:04
faladrim11-Sep-06 22:04 
AnswerRe: how to send letters like é § è ç to the serial com port? Pin
Nader Elshehabi12-Sep-06 3:45
Nader Elshehabi12-Sep-06 3:45 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim12-Sep-06 20:59
faladrim12-Sep-06 20:59 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim12-Sep-06 22:06
faladrim12-Sep-06 22:06 
QuestionException Handling Model Pin
Brady Kelly11-Sep-06 3:27
Brady Kelly11-Sep-06 3:27 
I would just like to run my model past the forum and get some comments, hopefully even start a discussion. Convention tells me that I should not catch exceptions unless absolutely necessary, to recover from something, or to add more information. However, I don't like to have too much diversity and permutations of try-catch blocks etc.

An example is a recent project, with a UI and a class library. The class library exposes two methods used by the UI, and a custom exception class (UpdateException). The library performs database updates that must be rolled back if any is not successfull. Deep inside my classes, I only catch one exception, which masks a real cause of failure, and rethrow adding a description. In the actual update public method though, I catch all exceptions because any exception should cause a rollback. I then throw my UpdateException for the client to catch.

In this way, my client can maintain normal operation after an UpdateException, maybe even try the update again, but respond differently, if at all, to all other exceptions.
AnswerRe: Exception Handling Model Pin
Not Active11-Sep-06 4:03
mentorNot Active11-Sep-06 4:03 
GeneralRe: Exception Handling Model Pin
Brady Kelly11-Sep-06 4:42
Brady Kelly11-Sep-06 4:42 
GeneralRe: Exception Handling Model Pin
Not Active11-Sep-06 4:55
mentorNot Active11-Sep-06 4:55 
GeneralRe: Exception Handling Model Pin
Brady Kelly11-Sep-06 22:16
Brady Kelly11-Sep-06 22:16 
Questionhow can I convert int[] to object[] ? Pin
michal.kreslik11-Sep-06 3:03
michal.kreslik11-Sep-06 3:03 
AnswerRe: how can I convert int[] to object[] ? Pin
Stefan Troschuetz11-Sep-06 3:15
Stefan Troschuetz11-Sep-06 3:15 
GeneralRe: how can I convert int[] to object[] ? Pin
michal.kreslik12-Sep-06 1:31
michal.kreslik12-Sep-06 1:31 
GeneralRe: how can I convert int[] to object[] ? Pin
Stefan Troschuetz12-Sep-06 2:48
Stefan Troschuetz12-Sep-06 2:48 
GeneralRe: how can I convert int[] to object[] ? [modified] Pin
michal.kreslik13-Sep-06 12:29
michal.kreslik13-Sep-06 12:29 
Questionhow to implement a drawer control? Pin
yu miao11-Sep-06 2:07
yu miao11-Sep-06 2:07 
AnswerRe: how to implement a drawer control? Pin
Niiiissssshhhhhuuuuu11-Sep-06 2:49
Niiiissssshhhhhuuuuu11-Sep-06 2:49 
QuestionHow to make the form non resizeble and non movable Pin
Hemant kulkarni11-Sep-06 1:53
Hemant kulkarni11-Sep-06 1:53 
AnswerRe: How to make the form non resizeble and non movable Pin
stancrm11-Sep-06 2:28
stancrm11-Sep-06 2:28 
Questionaccessing unmanaged memory [modified] Pin
a.mulay11-Sep-06 1:51
a.mulay11-Sep-06 1:51 
QuestionHow to make the form non resizeble and non movable? Pin
Hemant kulkarni11-Sep-06 1:49
Hemant kulkarni11-Sep-06 1:49 
AnswerRe: How to make the form non resizeble and non movable? Pin
Niiiissssshhhhhuuuuu11-Sep-06 2:05
Niiiissssshhhhhuuuuu11-Sep-06 2:05 
GeneralRe: How to make the form non resizeble and non movable? Pin
Hemant kulkarni11-Sep-06 2:17
Hemant kulkarni11-Sep-06 2:17 

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.