Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
AnswerRe: Streamreader and read file Pin
Dave Kreskowiak30-Mar-07 11:53
mveDave Kreskowiak30-Mar-07 11:53 
GeneralRe: Streamreader and read file Pin
Saamir30-Mar-07 12:00
Saamir30-Mar-07 12:00 
AnswerRe: Streamreader and read file Pin
Vasudevan Deepak Kumar31-Mar-07 4:30
Vasudevan Deepak Kumar31-Mar-07 4:30 
QuestionTrouble calling COM Object Method from C# object Pin
Brent Lamborn30-Mar-07 9:10
Brent Lamborn30-Mar-07 9:10 
AnswerRe: Trouble calling COM Object Method from C# object Pin
Phillip M. Hoff31-Mar-07 16:05
Phillip M. Hoff31-Mar-07 16:05 
GeneralRe: Trouble calling COM Object Method from C# object Pin
Brent Lamborn2-Apr-07 3:44
Brent Lamborn2-Apr-07 3:44 
QuestionHow do I exit the program from the main form's constructor Pin
dino209430-Mar-07 9:03
dino209430-Mar-07 9:03 
AnswerRe: How do I exit the program from the main form's constructor Pin
Leslie Sanford30-Mar-07 9:07
Leslie Sanford30-Mar-07 9:07 
dino2094 wrote:
In the constructor of my main form, I do some checking.
If it doesn't pass the check, I give a MessageBox then I
want to quit the program. As I have the code now, I get
an ObjectDisposeException. What is the proper way to
quit the program?


Override OnLoad, and do the checking there. I had the same problem and it took me awhile to figure it out.
GeneralRe: How do I exit the program from the main form's constructor Pin
dino209430-Mar-07 9:09
dino209430-Mar-07 9:09 
AnswerRe: How do I exit the program from the main form's constructor Pin
Thomas Stockwell1-Apr-07 4:37
professionalThomas Stockwell1-Apr-07 4:37 
Questionverify user can access a file Pin
minmanmax30-Mar-07 8:43
minmanmax30-Mar-07 8:43 
AnswerRe: verify user can access a file Pin
Ed.Poore30-Mar-07 9:09
Ed.Poore30-Mar-07 9:09 
GeneralRe: verify user can access a file Pin
minmanmax30-Mar-07 10:17
minmanmax30-Mar-07 10:17 
GeneralRe: verify user can access a file Pin
Ed.Poore30-Mar-07 12:24
Ed.Poore30-Mar-07 12:24 
GeneralRe: verify user can access a file Pin
minmanmax30-Mar-07 12:52
minmanmax30-Mar-07 12:52 
GeneralRe: verify user can access a file Pin
Ed.Poore30-Mar-07 23:19
Ed.Poore30-Mar-07 23:19 
GeneralRe: verify user can access a file Pin
minmanmax2-Apr-07 8:51
minmanmax2-Apr-07 8:51 
AnswerRe: verify user can access a file Pin
Vasudevan Deepak Kumar31-Mar-07 4:29
Vasudevan Deepak Kumar31-Mar-07 4:29 
QuestionGet n Set Pin
umashankergr830-Mar-07 8:34
umashankergr830-Mar-07 8:34 
AnswerRe: Get n Set [modified] Pin
J$30-Mar-07 8:40
J$30-Mar-07 8:40 
GeneralRe: Get n Set Pin
Colin Angus Mackay30-Mar-07 8:59
Colin Angus Mackay30-Mar-07 8:59 
GeneralRe: Get n Set Pin
J$30-Mar-07 10:13
J$30-Mar-07 10:13 
AnswerRe: Get n Set Pin
Vasudevan Deepak Kumar31-Mar-07 4:31
Vasudevan Deepak Kumar31-Mar-07 4:31 
QuestionAttaching my own form Pin
Esmo200030-Mar-07 8:01
Esmo200030-Mar-07 8:01 
QuestionA control as a property, or Delete Notification Pin
Cnight Stalker30-Mar-07 7:08
Cnight Stalker30-Mar-07 7:08 

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.