Click here to Skip to main content
15,886,110 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Array not calculating correctly Pin
Member 847941812-Dec-11 8:39
Member 847941812-Dec-11 8:39 
AnswerRe: Array not calculating correctly Pin
Andy_L_J12-Dec-11 11:58
Andy_L_J12-Dec-11 11:58 
Questionsql query for filtering Access database by date Pin
Amanjot10-Dec-11 16:34
Amanjot10-Dec-11 16:34 
AnswerRe: sql query for filtering Access database by date Pin
JR21210-Dec-11 19:56
JR21210-Dec-11 19:56 
AnswerRe: sql query for filtering Access database by date Pin
Dave Kreskowiak11-Dec-11 3:27
mveDave Kreskowiak11-Dec-11 3:27 
AnswerRe: sql query for filtering Access database by date Pin
coded00711-Dec-11 21:35
professionalcoded00711-Dec-11 21:35 
QuestionVB.NET 2010, Form Close Question Pin
Framework .l.9-Dec-11 15:19
Framework .l.9-Dec-11 15:19 
AnswerRe: VB.NET 2010, Form Close Question Pin
Luc Pattyn9-Dec-11 15:34
sitebuilderLuc Pattyn9-Dec-11 15:34 
FormClosing is the correct event for this. Its second parameter has a Cancel property, if you set that true, the closing action will not go on (and FormClosed will not fire).

BTW: there is no need to call Application.Exit() in a FormClosing or FormClosed event handler (and it sure won't help you in keeping the form open!)

Suggestion: when interested in an event, always look at the second parameter; just use Intellisense (or MSDN documentation) to have an idea about the available information; what one needs typically is available right there.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: VB.NET 2010, Form Close Question Pin
daveh604517-Jan-12 23:28
daveh604517-Jan-12 23:28 
QuestionConection lines without crossing other lines Pin
JR2128-Dec-11 2:20
JR2128-Dec-11 2:20 
AnswerRe: Conection lines without crossing other lines Pin
Luc Pattyn8-Dec-11 2:43
sitebuilderLuc Pattyn8-Dec-11 2:43 
QuestionTree view Pin
Member 84675328-Dec-11 0:46
Member 84675328-Dec-11 0:46 
AnswerRe: Tree view Pin
Simon_Whale8-Dec-11 0:56
Simon_Whale8-Dec-11 0:56 
QuestionConnection String for remote access database Pin
Vikash Yadav6-Dec-11 19:53
Vikash Yadav6-Dec-11 19:53 
AnswerRe: Connection String for remote access database Pin
DaveAuld6-Dec-11 20:13
professionalDaveAuld6-Dec-11 20:13 
GeneralRe: Connection String for remote access database Pin
Vikash Yadav6-Dec-11 20:39
Vikash Yadav6-Dec-11 20:39 
GeneralRe: Connection String for remote access database Pin
DaveAuld6-Dec-11 20:57
professionalDaveAuld6-Dec-11 20:57 
QuestionHow to copy a root directory (copy a flash drive) and paste it somewhere else? Pin
Brandon-X120006-Dec-11 15:33
Brandon-X120006-Dec-11 15:33 
AnswerRe: How to copy a root directory (copy a flash drive) and paste it somewhere else? Pin
Skynet_Code6-Dec-11 22:18
Skynet_Code6-Dec-11 22:18 
QuestionCode crashing on FindFirst Pin
Cynthia Quiroz4-Dec-11 13:15
Cynthia Quiroz4-Dec-11 13:15 
AnswerRe: Code crashing on FindFirst Pin
Eddy Vluggen5-Dec-11 8:50
professionalEddy Vluggen5-Dec-11 8:50 
QuestionFile reference in Visual Basic Pin
Razanust3-Dec-11 5:56
Razanust3-Dec-11 5:56 
AnswerRe: File reference in Visual Basic Pin
Eddy Vluggen3-Dec-11 6:32
professionalEddy Vluggen3-Dec-11 6:32 
GeneralRe: File reference in Visual Basic Pin
Simon_Whale3-Dec-11 12:03
Simon_Whale3-Dec-11 12:03 
QuestionNew to Visual Basic Pin
PoddyCo1-Dec-11 2:49
PoddyCo1-Dec-11 2:49 

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.