Click here to Skip to main content
15,890,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to check CDDrvive is ready or not Pin
sandeep sangshetty3-May-11 19:21
sandeep sangshetty3-May-11 19:21 
AnswerRe: How to check CDDrvive is ready or not Pin
Dave Kreskowiak4-May-11 1:21
mveDave Kreskowiak4-May-11 1:21 
AnswerRe: How to check CDDrvive is ready or not Pin
Simon_Whale4-May-11 1:22
Simon_Whale4-May-11 1:22 
QuestionCannot close application in or outside of debugger Pin
Alan Burkhart3-May-11 16:32
Alan Burkhart3-May-11 16:32 
AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn3-May-11 17:34
sitebuilderLuc Pattyn3-May-11 17:34 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart3-May-11 17:45
Alan Burkhart3-May-11 17:45 
AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn3-May-11 18:13
sitebuilderLuc Pattyn3-May-11 18:13 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart3-May-11 18:35
Alan Burkhart3-May-11 18:35 
Luc Pattyn wrote:
Where are Me.Close and Me.Dispose located in your source? in some event handler?

The "Exit" menu item's click event:
VB
Private Sub CloseApp() Handles menuFile_Exit.Click
  Try
    Me.Close()
  Catch ex As Exception
    MsgBox(ex.ToString, MsgBoxStyle.Exclamation, title)
  End Try
End Sub


I added Me.Dispose to the end of the FormClosing event handler. Too much code to list here, but all FormClosing does is save preferences, recently used docs and open tabs. Nothing complicated. I disabled (commented) all the code in the FormClosing sub to see if something there was causing the problem. No change.

Weird, huh?
If Barney Frank eats a fruitcake, is it cannibalism?

AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn3-May-11 18:47
sitebuilderLuc Pattyn3-May-11 18:47 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart3-May-11 19:04
Alan Burkhart3-May-11 19:04 
AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn4-May-11 1:49
sitebuilderLuc Pattyn4-May-11 1:49 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart4-May-11 6:05
Alan Burkhart4-May-11 6:05 
AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn4-May-11 6:09
sitebuilderLuc Pattyn4-May-11 6:09 
GeneralRe: (RESOLVED) Cannot close application in or outside of debugger Pin
Alan Burkhart5-May-11 7:25
Alan Burkhart5-May-11 7:25 
AnswerRe: (RESOLVED) Cannot close application in or outside of debugger Pin
Luc Pattyn5-May-11 7:37
sitebuilderLuc Pattyn5-May-11 7:37 
GeneralRe: (RESOLVED) Cannot close application in or outside of debugger Pin
AspDotNetDev5-May-11 7:54
protectorAspDotNetDev5-May-11 7:54 
GeneralRe: (RESOLVED) Cannot close application in or outside of debugger Pin
Andreas Mertens7-May-11 4:00
professionalAndreas Mertens7-May-11 4:00 
GeneralRe: Cannot close application in or outside of debugger Pin
Oakman4-May-11 6:35
Oakman4-May-11 6:35 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart4-May-11 14:14
Alan Burkhart4-May-11 14:14 
AnswerRe: Cannot close application in or outside of debugger Pin
Luc Pattyn4-May-11 15:14
sitebuilderLuc Pattyn4-May-11 15:14 
GeneralRe: Cannot close application in or outside of debugger Pin
trantrum6-May-11 5:57
professionaltrantrum6-May-11 5:57 
GeneralRe: Cannot close application in or outside of debugger Pin
Gary Huck6-May-11 13:32
Gary Huck6-May-11 13:32 
GeneralRe: Cannot close application in or outside of debugger Pin
Alan Burkhart6-May-11 13:44
Alan Burkhart6-May-11 13:44 
GeneralRe: Cannot close application in or outside of debugger Pin
Chris Trelawny-Ross6-May-11 6:34
Chris Trelawny-Ross6-May-11 6:34 
GeneralRe: Cannot close application in or outside of debugger Pin
Luc Pattyn6-May-11 6:45
sitebuilderLuc Pattyn6-May-11 6:45 

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.