Click here to Skip to main content
15,845,853 members
Home / Discussions / C#
   

C#

 
GeneralRe: QR barcode decoder problem. Pin
Christian Graus25-Jun-09 20:39
protectorChristian Graus25-Jun-09 20:39 
GeneralRe: QR barcode decoder problem. Pin
S K Y25-Jun-09 21:47
S K Y25-Jun-09 21:47 
GeneralRe: QR barcode decoder problem. Pin
Christian Graus25-Jun-09 21:58
protectorChristian Graus25-Jun-09 21:58 
GeneralRe: QR barcode decoder problem. Pin
Mycroft Holmes26-Jun-09 1:41
professionalMycroft Holmes26-Jun-09 1:41 
QuestionHow to get stack trace Pin
LiYS25-Jun-09 17:30
LiYS25-Jun-09 17:30 
AnswerRe: How to get stack trace Pin
Luc Pattyn25-Jun-09 17:33
sitebuilderLuc Pattyn25-Jun-09 17:33 
GeneralRe: How to get stack trace Pin
LiYS25-Jun-09 18:17
LiYS25-Jun-09 18:17 
QuestionAsk about OO Concept Pin
sky391325-Jun-09 15:32
sky391325-Jun-09 15:32 
hi friends, and wanna ask you:

1. what is the different between this code

catch (OleDbException ex)
{
throw ex;
}

and

catch (OleDbException ex)
{
throw new Exception(ex.Messege);
}

which is the best? or when should we use throw new Exception or just throw ex?


2. What about close() and dispose() method, what is the different?
if there is objek like OleDbDataReader which have close() and method() inside,
should we write objOleDbDataReader.close() and objOleDbDataReader.dispose() together in our code? why?
if we should only use one of them, which one should we use, close() or dispose() ?

Thanks..

Regards,

Willy
AnswerRe: Ask about OO Concept Pin
Luc Pattyn25-Jun-09 15:48
sitebuilderLuc Pattyn25-Jun-09 15:48 
AnswerRe: Ask about OO Concept Pin
N a v a n e e t h25-Jun-09 16:40
N a v a n e e t h25-Jun-09 16:40 
Questionrunning a service periodically Pin
mark_me25-Jun-09 13:00
mark_me25-Jun-09 13:00 
AnswerRe: running a service periodically Pin
Luc Pattyn25-Jun-09 13:22
sitebuilderLuc Pattyn25-Jun-09 13:22 
GeneralRe: running a service periodically Pin
mark_me25-Jun-09 16:34
mark_me25-Jun-09 16:34 
GeneralRe: running a service periodically Pin
Luc Pattyn25-Jun-09 16:35
sitebuilderLuc Pattyn25-Jun-09 16:35 
Questionkeydown event on minimized form ! Pin
kubibay25-Jun-09 9:46
kubibay25-Jun-09 9:46 
AnswerRe: keydown event on minimized form ! Pin
Rajesh R Subramanian25-Jun-09 10:29
professionalRajesh R Subramanian25-Jun-09 10:29 
GeneralRe: keydown event on minimized form ! Pin
kubibay25-Jun-09 10:56
kubibay25-Jun-09 10:56 
GeneralRe: keydown event on minimized form ! Pin
Rajesh R Subramanian25-Jun-09 11:15
professionalRajesh R Subramanian25-Jun-09 11:15 
GeneralRe: keydown event on minimized form ! Pin
kubibay25-Jun-09 11:20
kubibay25-Jun-09 11:20 
GeneralRe: keydown event on minimized form ! Pin
EliottA25-Jun-09 11:25
EliottA25-Jun-09 11:25 
GeneralRe: keydown event on minimized form ! Pin
kubibay25-Jun-09 11:29
kubibay25-Jun-09 11:29 
Questionusing versus out of scope Pin
jackgeek25-Jun-09 9:03
jackgeek25-Jun-09 9:03 
AnswerRe: using versus out of scope Pin
harold aptroot25-Jun-09 9:14
harold aptroot25-Jun-09 9:14 
AnswerRe: using versus out of scope Pin
OriginalGriff25-Jun-09 9:20
mveOriginalGriff25-Jun-09 9:20 
GeneralRe: using versus out of scope Pin
Mirko198025-Jun-09 22:44
Mirko198025-Jun-09 22:44 

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.