Click here to Skip to main content
16,010,544 members
Home / Discussions / C#
   

C#

 
QuestionSome nodes in TreeView with checkboxes and some others without. Is it possible? Pin
TomaHawKPT6-Dec-03 12:18
TomaHawKPT6-Dec-03 12:18 
AnswerRe: Some nodes in TreeView with checkboxes and some others without. Is it possible? Pin
Heath Stewart7-Dec-03 4:13
protectorHeath Stewart7-Dec-03 4:13 
QuestionWhat causes the close button to stop working? Pin
vektuz5-Dec-03 23:04
vektuz5-Dec-03 23:04 
AnswerRe: What causes the close button to stop working? Pin
vektuz5-Dec-03 23:25
vektuz5-Dec-03 23:25 
GeneralRe: What causes the close button to stop working? Pin
Heath Stewart6-Dec-03 5:12
protectorHeath Stewart6-Dec-03 5:12 
GeneralRe: What causes the close button to stop working? Pin
Nick Parker6-Dec-03 8:52
protectorNick Parker6-Dec-03 8:52 
GeneralRe: What causes the close button to stop working? Pin
vektuz6-Dec-03 10:10
vektuz6-Dec-03 10:10 
GeneralRe: What causes the close button to stop working? Pin
Heath Stewart6-Dec-03 10:17
protectorHeath Stewart6-Dec-03 10:17 
You can't put an entire Windows application in a try-catch block. See, Application.Run that starts your application is a blocking call (the application pump loops and distributed Windows messages to the appropriate windows). If an exception occurs there but not in your code, it may not be caught. To do this, you must do as I did and stated in my first reply: handle the AppDomain.UnhandledException event.

In any case, this exception is not an app-crasher - it merely screws up the main UI thread but it continues to run.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: What causes the close button to stop working? Pin
vektuz6-Dec-03 10:28
vektuz6-Dec-03 10:28 
GeneralRe: What causes the close button to stop working? Pin
vektuz6-Dec-03 11:00
vektuz6-Dec-03 11:00 
GeneralInvertRegion Pin
mhmoud rawas5-Dec-03 22:09
mhmoud rawas5-Dec-03 22:09 
GeneralRe: InvertRegion Pin
Alex Korchemniy6-Dec-03 7:53
Alex Korchemniy6-Dec-03 7:53 
GeneralRe: InvertRegion Pin
mhmoud rawas6-Dec-03 8:40
mhmoud rawas6-Dec-03 8:40 
GeneralRe: InvertRegion Pin
J. Dunlap6-Dec-03 9:42
J. Dunlap6-Dec-03 9:42 
GeneralRe: InvertRegion Pin
mhmoud rawas6-Dec-03 18:00
mhmoud rawas6-Dec-03 18:00 
GeneralRe: InvertRegion Pin
J. Dunlap7-Dec-03 14:56
J. Dunlap7-Dec-03 14:56 
GeneralJPG Size Pin
mhmoud rawas5-Dec-03 22:07
mhmoud rawas5-Dec-03 22:07 
GeneralRe: JPG Size Pin
Heath Stewart6-Dec-03 4:57
protectorHeath Stewart6-Dec-03 4:57 
GeneralRe: JPG Size Pin
Anonymous6-Dec-03 6:23
Anonymous6-Dec-03 6:23 
GeneralRe: JPG Size Pin
Heath Stewart6-Dec-03 6:44
protectorHeath Stewart6-Dec-03 6:44 
GeneralRe: JPG Size Pin
mhmoud rawas6-Dec-03 7:22
mhmoud rawas6-Dec-03 7:22 
GeneralRe: JPG Size Pin
mhmoud rawas6-Dec-03 7:24
mhmoud rawas6-Dec-03 7:24 
GeneralRe: JPG Size Pin
mhmoud rawas6-Dec-03 7:17
mhmoud rawas6-Dec-03 7:17 
GeneralFile Size over Internet Pin
eggie55-Dec-03 21:06
eggie55-Dec-03 21:06 
GeneralRe: File Size over Internet Pin
leppie5-Dec-03 21:51
leppie5-Dec-03 21:51 

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.