Click here to Skip to main content
15,887,821 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard MacCutchan12-Nov-16 21:28
mveRichard MacCutchan12-Nov-16 21:28 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Dave Kreskowiak12-Nov-16 6:47
mveDave Kreskowiak12-Nov-16 6:47 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard Deeming12-Nov-16 11:44
mveRichard Deeming12-Nov-16 11:44 
QuestionWhy this sub is executed 3 times ? Pin
desanti7-Nov-16 18:26
desanti7-Nov-16 18:26 
AnswerRe: Why this sub is executed 3 times ? Pin
Eddy Vluggen11-Nov-16 7:17
professionalEddy Vluggen11-Nov-16 7:17 
GeneralRe: Why this sub is executed 3 times ? Pin
desanti11-Nov-16 19:28
desanti11-Nov-16 19:28 
GeneralRe: Why this sub is executed 3 times ? Pin
Eddy Vluggen12-Nov-16 1:42
professionalEddy Vluggen12-Nov-16 1:42 
QuestionMy application does not close anymore Pin
desanti31-Oct-16 12:33
desanti31-Oct-16 12:33 
Hello !
I have a vb.net 2013 application.
On application Properties , I have configured as startup form a form that act as a login form.
(After this login form is closed , the main form is displayed.)
On Shutdown mode I have " When last form closes"
But now , when I click the x button to close my main form , the form is closed but the application is not fully closed and is still running.
I've tested and I've found that when the form is closing Application.OpenForms.Count is 1. So as I've configured this is the last form and closing this should close the application but this is not happening.
What can I do ?
QuestionRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 14:43
professionalMidi_Mick31-Oct-16 14:43 
AnswerRe: My application does not close anymore Pin
desanti31-Oct-16 15:01
desanti31-Oct-16 15:01 
GeneralRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 17:07
professionalMidi_Mick31-Oct-16 17:07 
GeneralRe: My application does not close anymore Pin
desanti31-Oct-16 18:35
desanti31-Oct-16 18:35 
AnswerRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 18:47
professionalMidi_Mick31-Oct-16 18:47 
GeneralRe: My application does not close anymore Pin
desanti31-Oct-16 18:56
desanti31-Oct-16 18:56 
GeneralRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 19:01
professionalMidi_Mick31-Oct-16 19:01 
GeneralRe: My application does not close anymore Pin
desanti31-Oct-16 19:06
desanti31-Oct-16 19:06 
GeneralRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 19:26
professionalMidi_Mick31-Oct-16 19:26 
AnswerRe: My application does not close anymore Pin
Richard Deeming1-Nov-16 3:43
mveRichard Deeming1-Nov-16 3:43 
GeneralRe: My application does not close anymore Pin
desanti1-Nov-16 6:00
desanti1-Nov-16 6:00 
GeneralRe: My application does not close anymore Pin
Richard Deeming1-Nov-16 6:28
mveRichard Deeming1-Nov-16 6:28 
GeneralRe: My application does not close anymore Pin
desanti1-Nov-16 9:19
desanti1-Nov-16 9:19 
GeneralRe: My application does not close anymore Pin
Eddy Vluggen1-Nov-16 9:32
professionalEddy Vluggen1-Nov-16 9:32 
GeneralRe: My application does not close anymore Pin
desanti1-Nov-16 10:21
desanti1-Nov-16 10:21 
GeneralRe: My application does not close anymore Pin
Eddy Vluggen2-Nov-16 3:14
professionalEddy Vluggen2-Nov-16 3:14 
GeneralRe: My application does not close anymore Pin
desanti1-Nov-16 15:31
desanti1-Nov-16 15:31 

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.