Click here to Skip to main content
16,007,814 members
Home / Discussions / C#
   

C#

 
Questionenum types... Pin
Besinci11-Aug-06 10:28
Besinci11-Aug-06 10:28 
AnswerRe: enum types... Pin
Dustin Metzgar11-Aug-06 10:42
Dustin Metzgar11-Aug-06 10:42 
GeneralRe: enum types... Pin
Besinci11-Aug-06 10:50
Besinci11-Aug-06 10:50 
GeneralRe: enum types... Pin
Dustin Metzgar11-Aug-06 11:01
Dustin Metzgar11-Aug-06 11:01 
QuestionExiting app in Catch Pin
Stick^11-Aug-06 10:01
Stick^11-Aug-06 10:01 
AnswerRe: Exiting app in Catch Pin
Stefan Troschuetz11-Aug-06 10:47
Stefan Troschuetz11-Aug-06 10:47 
GeneralRe: Exiting app in Catch Pin
Stick^11-Aug-06 10:58
Stick^11-Aug-06 10:58 
GeneralRe: Exiting app in Catch Pin
Ennis Ray Lynch, Jr.11-Aug-06 11:08
Ennis Ray Lynch, Jr.11-Aug-06 11:08 
Don't fail inside of a constructor. It isn't good practice. Move failure prone code outside of the constructor and call it seperately to initilize the class. Also, Application.Exit is a bad way to exit your application. Any error that requires an exit should bubble up till it can be handled gracefully allow the application to then exit via normal channels.



A man said to the universe:
"Sir I exist!"
"However," replied the Universe, "The fact has not created in me A sense of obligation."

-- Stephen Crane

GeneralRe: Exiting app in Catch Pin
Stefan Troschuetz11-Aug-06 20:40
Stefan Troschuetz11-Aug-06 20:40 
GeneralRe: Exiting app in Catch Pin
Stick^11-Aug-06 23:26
Stick^11-Aug-06 23:26 
AnswerRe: Exiting app in Catch Pin
Glen Harvy11-Aug-06 10:54
Glen Harvy11-Aug-06 10:54 
GeneralRe: Exiting app in Catch Pin
Stick^11-Aug-06 10:59
Stick^11-Aug-06 10:59 
GeneralWrong forum by accident...please ignore! Pin
leckey11-Aug-06 9:51
leckey11-Aug-06 9:51 
AnswerRe: Null reference object error/enumeration problem Pin
Judah Gabriel Himango11-Aug-06 10:00
sponsorJudah Gabriel Himango11-Aug-06 10:00 
GeneralRe: Null reference object error/enumeration problem Pin
leckey11-Aug-06 11:46
leckey11-Aug-06 11:46 
GeneralDatagridViewComboCell Issues. Pin
ssp2011-Aug-06 9:49
ssp2011-Aug-06 9:49 
QuestionInterop.Excel x the memory could not be read Pin
ARLUNSQUI11-Aug-06 8:53
ARLUNSQUI11-Aug-06 8:53 
QuestionHow can a control always be on top Pin
sas949111-Aug-06 7:57
sas949111-Aug-06 7:57 
AnswerRe: How can a control always be on top Pin
Ryomin11-Aug-06 8:25
professionalRyomin11-Aug-06 8:25 
GeneralRe: How can a control always be on top Pin
sas949111-Aug-06 9:14
sas949111-Aug-06 9:14 
GeneralRe: How can a control always be on top [modified] Pin
Ryomin11-Aug-06 9:20
professionalRyomin11-Aug-06 9:20 
GeneralRe: How can a control always be on top Pin
sas949111-Aug-06 9:27
sas949111-Aug-06 9:27 
GeneralRe: How can a control always be on top Pin
Ennis Ray Lynch, Jr.11-Aug-06 9:41
Ennis Ray Lynch, Jr.11-Aug-06 9:41 
Questionaccess database on a server via a windows application? Pin
keroed_edmond11-Aug-06 4:20
keroed_edmond11-Aug-06 4:20 
AnswerRe: access database on a server via a windows application? Pin
Not Active11-Aug-06 4:32
mentorNot Active11-Aug-06 4:32 

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.