Click here to Skip to main content
15,888,070 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem with changing NameSpace Pin
Luc Pattyn15-Mar-11 15:37
sitebuilderLuc Pattyn15-Mar-11 15:37 
GeneralRe: Problem with changing NameSpace Pin
Alan Burkhart15-Mar-11 15:48
Alan Burkhart15-Mar-11 15:48 
QuestionQuestion on how to trap winform closing from VS designer Pin
Jon_Boy15-Mar-11 3:26
Jon_Boy15-Mar-11 3:26 
AnswerRe: Question on how to trap winform closing from VS designer Pin
Pravin Patil, Mumbai15-Mar-11 3:37
Pravin Patil, Mumbai15-Mar-11 3:37 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Jon_Boy15-Mar-11 3:45
Jon_Boy15-Mar-11 3:45 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Pravin Patil, Mumbai20-Mar-11 18:44
Pravin Patil, Mumbai20-Mar-11 18:44 
AnswerRe: Question on how to trap winform closing from VS designer Pin
Luc Pattyn15-Mar-11 3:45
sitebuilderLuc Pattyn15-Mar-11 3:45 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Jon_Boy15-Mar-11 4:02
Jon_Boy15-Mar-11 4:02 
Hey Luc,

I'm familiar with the Debugger.IsAttached because I have some debug.print statements that occur during various routines. I'm feeling rather blonde today.

I created a new WinForm app from scratch in VS2010.

Stuck this code in
Private Sub Form1_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
    MessageBox.Show("Look ma, I'm closing")
End Sub


If I start the app and close it with the X in the caption bar, woot!
If I start the app and close it with the Stop Debugging button in VS on the debugging toolbar, it's just not called? Am I totally overlooking something?
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: Question on how to trap winform closing from VS designer Pin
Dave Kreskowiak15-Mar-11 4:10
mveDave Kreskowiak15-Mar-11 4:10 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Аslam Iqbal15-Mar-11 8:11
professionalАslam Iqbal15-Mar-11 8:11 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Jon_Boy15-Mar-11 9:09
Jon_Boy15-Mar-11 9:09 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Mycroft Holmes15-Mar-11 14:14
professionalMycroft Holmes15-Mar-11 14:14 
GeneralRe: Question on how to trap winform closing from VS designer Pin
Jon_Boy16-Mar-11 1:43
Jon_Boy16-Mar-11 1:43 
AnswerRe: Question on how to trap winform closing from VS designer Pin
Luc Pattyn15-Mar-11 4:24
sitebuilderLuc Pattyn15-Mar-11 4:24 
AnswerRe: Question on how to trap winform closing from VS designer Pin
Аslam Iqbal15-Mar-11 8:14
professionalАslam Iqbal15-Mar-11 8:14 
AnswerRe: Question on how to trap winform closing from VS designer Pin
Gregory Gadow15-Mar-11 12:46
Gregory Gadow15-Mar-11 12:46 
QuestionA quick threading question Pin
Alan Burkhart14-Mar-11 19:50
Alan Burkhart14-Mar-11 19:50 
AnswerRe: A quick threading question Pin
Groulien14-Mar-11 21:28
Groulien14-Mar-11 21:28 
GeneralRe: A quick threading question Pin
Alan Burkhart15-Mar-11 4:52
Alan Burkhart15-Mar-11 4:52 
AnswerRe: A quick threading question Pin
Luc Pattyn15-Mar-11 0:01
sitebuilderLuc Pattyn15-Mar-11 0:01 
GeneralRe: A quick threading question Pin
Alan Burkhart15-Mar-11 4:48
Alan Burkhart15-Mar-11 4:48 
AnswerRe: A quick threading question Pin
Luc Pattyn15-Mar-11 4:53
sitebuilderLuc Pattyn15-Mar-11 4:53 
GeneralRe: A quick threading question Pin
Alan Burkhart15-Mar-11 5:19
Alan Burkhart15-Mar-11 5:19 
AnswerRe: A quick threading question Pin
Luc Pattyn15-Mar-11 5:34
sitebuilderLuc Pattyn15-Mar-11 5:34 
GeneralRe: A quick threading question Pin
Аslam Iqbal15-Mar-11 8:18
professionalАslam Iqbal15-Mar-11 8:18 

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.