Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
QuestionCalling Visual Basic .net class object in C# Pin
idreesbadshah20-Jan-06 7:33
idreesbadshah20-Jan-06 7:33 
AnswerRe: Calling Visual Basic .net class object in C# Pin
Dave Kreskowiak20-Jan-06 7:39
mveDave Kreskowiak20-Jan-06 7:39 
Questionwhy can't i start/stop separate threads inside of same block? Pin
WetRivrRat20-Jan-06 5:47
WetRivrRat20-Jan-06 5:47 
AnswerRe: why can't i start/stop separate threads inside of same block? Pin
Le centriste20-Jan-06 6:03
Le centriste20-Jan-06 6:03 
AnswerRe: why can't i start/stop separate threads inside of same block? Pin
Dave Kreskowiak20-Jan-06 6:25
mveDave Kreskowiak20-Jan-06 6:25 
GeneralRe: why can't i start/stop separate threads inside of same block? Pin
WetRivrRat20-Jan-06 7:50
WetRivrRat20-Jan-06 7:50 
QuestionError handling - which is preferrable? Pin
Judah Gabriel Himango20-Jan-06 5:25
sponsorJudah Gabriel Himango20-Jan-06 5:25 
AnswerRe: Error handling - which is preferrable? Pin
Colin Angus Mackay20-Jan-06 5:34
Colin Angus Mackay20-Jan-06 5:34 
It depends. For example, when reading a file I'll normally check it exists first, so I a PathTooLongException, DirectoryNotFoundException and FileNotFound are really things I should not be getting, so they'd be covered in a catch all (if at all at that point in the code). Specific things that I can't check for in advance would be in specific blocks.

On the whole I find that exceptions propogate up a couple of method calls in the stack before I actually handle them because often at the point the exception occurs I am not able to handle it so I allow it to propogate up until I can do something about it.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: Error handling - which is preferrable? Pin
Werdna20-Jan-06 6:14
Werdna20-Jan-06 6:14 
GeneralRe: Error handling - which is preferrable? Pin
Judah Gabriel Himango20-Jan-06 9:56
sponsorJudah Gabriel Himango20-Jan-06 9:56 
QuestiondataGrid & first row selection Pin
moonangel_bio20-Jan-06 5:00
moonangel_bio20-Jan-06 5:00 
AnswerRe: dataGrid & first row selection Pin
CodyGen20-Jan-06 5:42
CodyGen20-Jan-06 5:42 
AnswerRe: dataGrid & first row selection Pin
Drew McGhie20-Jan-06 9:22
Drew McGhie20-Jan-06 9:22 
GeneralRe: dataGrid & first row selection Pin
moonangel_bio21-Jan-06 1:34
moonangel_bio21-Jan-06 1:34 
QuestionClearing the DataTable Pin
dvsr20-Jan-06 4:21
dvsr20-Jan-06 4:21 
QuestionPower Point from C# code Pin
Bested20-Jan-06 2:57
Bested20-Jan-06 2:57 
QuestionHow to use Bass.Net.dll Pin
Divyang Mithaiwala20-Jan-06 2:41
Divyang Mithaiwala20-Jan-06 2:41 
AnswerRe: How to use Bass.Net.dll Pin
Colin Angus Mackay20-Jan-06 5:36
Colin Angus Mackay20-Jan-06 5:36 
GeneralRe: How to use Bass.Net.dll Pin
Divyang Mithaiwala20-Jan-06 6:25
Divyang Mithaiwala20-Jan-06 6:25 
GeneralRe: How to use Bass.Net.dll Pin
Dave Kreskowiak20-Jan-06 7:01
mveDave Kreskowiak20-Jan-06 7:01 
Questiondatagrid out of bound error,Plz help Pin
rudra08320-Jan-06 1:47
rudra08320-Jan-06 1:47 
QuestionDatagrid Selection ,Giving out of bound index error Pin
rudra08320-Jan-06 1:45
rudra08320-Jan-06 1:45 
QuestionHELP ME! SymbianOS and C# Pin
keisee20-Jan-06 1:43
keisee20-Jan-06 1:43 
Questionretrieve MAC address without SendARP Pin
ESTAN20-Jan-06 1:30
ESTAN20-Jan-06 1:30 
AnswerRe: retrieve MAC address without SendARP Pin
ESTAN25-Jan-06 2:06
ESTAN25-Jan-06 2:06 

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.