Click here to Skip to main content
15,915,818 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Check dll files at the Start of the Application Pin
Eslam Afifi15-Sep-08 3:55
Eslam Afifi15-Sep-08 3:55 
GeneralRe: Check dll files at the Start of the Application Pin
pdnet15-Sep-08 4:06
pdnet15-Sep-08 4:06 
GeneralRe: Check dll files at the Start of the Application Pin
Eslam Afifi15-Sep-08 4:19
Eslam Afifi15-Sep-08 4:19 
AnswerRe: Check dll files at the Start of the Application Pin
Gagan.2015-Sep-08 5:37
Gagan.2015-Sep-08 5:37 
AnswerRe: Check dll files at the Start of the Application Pin
Guffa15-Sep-08 9:44
Guffa15-Sep-08 9:44 
GeneralRe: Check dll files at the Start of the Application Pin
pdnet15-Sep-08 18:48
pdnet15-Sep-08 18:48 
Questionproblem while trying to use form closing event [modified] Pin
kisran15-Sep-08 1:07
kisran15-Sep-08 1:07 
AnswerRe: problem while trying to use form closing event Pin
C1AllenS15-Sep-08 1:19
C1AllenS15-Sep-08 1:19 
Hello Kisran,

I am not sure whats wrong at your side. But your code works perfectly at my end.
In case you are not able to resolve it, you can probably try this slight modified
version of your code.

BEGIN CODE
<br />
        Dim dr As DialogResult = MessageBox.Show("Do you wish to close the Form", "Closing Form", MessageBoxButtons.YesNo)<br />
        If dr = Windows.Forms.DialogResult.Yes Then<br />
            e.Cancel = False<br />
        Else<br />
            e.Cancel = True<br />
        End If<br />

END CODE

I hope this works.

Regards,
Allen

Allen Smith


ComponentOne LLC
www.componentone.com

GeneralRe: problem while trying to use form closing event Pin
kisran15-Sep-08 1:36
kisran15-Sep-08 1:36 
AnswerRe: problem while trying to use form closing event Pin
Gagan.2015-Sep-08 5:43
Gagan.2015-Sep-08 5:43 
GeneralRe: problem while trying to use form closing event [modified] Pin
kisran15-Sep-08 18:32
kisran15-Sep-08 18:32 
GeneralRe: problem while trying to use form closing event Pin
Gagan.2017-Sep-08 0:38
Gagan.2017-Sep-08 0:38 
QuestionSetup for Updates Pin
Amit Kushwaha15-Sep-08 0:45
Amit Kushwaha15-Sep-08 0:45 
AnswerRe: Setup for Updates Pin
Kschuler15-Sep-08 7:30
Kschuler15-Sep-08 7:30 
QuestionDatabindings property for textbox control in Design mode - VS 2005 [modified] Pin
CPK_201114-Sep-08 23:42
CPK_201114-Sep-08 23:42 
AnswerRe: Databindings property for textbox control in Design mode - VS 2005 Pin
C1AllenS15-Sep-08 1:12
C1AllenS15-Sep-08 1:12 
QuestionHelp File Help Pin
Amit Battan Ror14-Sep-08 23:37
Amit Battan Ror14-Sep-08 23:37 
QuestionFaded Form in Vb.Net 3.5 Pin
pdnet14-Sep-08 23:20
pdnet14-Sep-08 23:20 
Questionsorting in DropDownList Pin
dhawalk14-Sep-08 23:03
dhawalk14-Sep-08 23:03 
AnswerRe: sorting in DropDownList Pin
Ashfield15-Sep-08 9:23
Ashfield15-Sep-08 9:23 
QuestionHow we edit a HTML help file using HTML Help wrokshop Pin
Amit Battan Ror14-Sep-08 23:03
Amit Battan Ror14-Sep-08 23:03 
QuestionHow to use dde in VB .Net Pin
Member 427095114-Sep-08 21:07
Member 427095114-Sep-08 21:07 
AnswerRe: How to use dde in VB .Net Pin
jzonthemtn15-Sep-08 10:46
jzonthemtn15-Sep-08 10:46 
QuestionClick event - Componentart Chart Pin
Wiekus14-Sep-08 20:23
Wiekus14-Sep-08 20:23 
AnswerRe: Click event - Componentart Chart Pin
Ashfield14-Sep-08 23:13
Ashfield14-Sep-08 23:13 

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.