Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Cannot close application in or outside of debugger

Cannot close application in or outside of debugger

Scheduled Pinned Locked Moved Visual Basic
helpvisual-studiodebuggingquestion
24 Posts 10 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Alan Burkhart

    Tried Application.Exit() but it didn't change anything. I'm using FormClosing, but not FormClosed. Only one eventhandler for FormClosing. I gotta get off of here for tonight. Early start / long day tomorrow. I'll work on it again tomorrow. As always, thanks for your help. :)

    If Barney Frank eats a fruitcake, is it cannibalism?

    G Offline
    G Offline
    Gary Huck
    wrote on last edited by
    #21

    Barney Frank is one of the few decent, intelligent people we have in congress.

    A 1 Reply Last reply
    0
    • G Gary Huck

      Barney Frank is one of the few decent, intelligent people we have in congress.

      A Offline
      A Offline
      Alan Burkhart
      wrote on last edited by
      #22

      GamleKoder wrote:

      Barney Frank is one of the few decent, intelligent people we have in congress.

      Risible at best. Let's face it - it was Barney Frank who swore up and down that Fanny and Freddy were solid even while Bush was warning that they needed to be more closely regulated. Barney Frank is a typical big spending, lying, agenda-driven liberal, and he bears a large part of the blame, via the Fanny and Freddy mess, for the bigger mess we're in now. Say what you will, but facts are facts. Barney is the poster boy for the brainless left.

      If Barney Frank eats a fruitcake, is it cannibalism?

      1 Reply Last reply
      0
      • A AspDotNetDev

        You may want to use WinMerge to compare the differences between your old and new project. Who knows, maybe something will stick out.

        [

        S<T>::f(U) // Out of line.

        ](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)

        A Offline
        A Offline
        Andreas Mertens
        wrote on last edited by
        #23

        I was just going to point out that using a SCM would have helped diff'ing this as well. Or rolling back to last known good state... Andreas

        1 Reply Last reply
        0
        • A Alan Burkhart

          I have a single-thread project that's been working fine until tonight. Everything goes well until I try to close it. No error msg, it doesn't freeze. But it won't close. In VS I have to hit the Stop Debugging button. If I run it from a shortcut, I have to use Task Manager to close it (and I get a Not Responding msg). The only changes I've made tonight was to add a tab control, one page with a WebBrowser and one with a ScintillaNet control. The ScintillaNet control was already in use and I simply moved it to a tabpage. I undid all this but the problem still exists. Closed and restarted VS and that didn't help. Commented out everything in the FormClosing sub - no effect. Other projects close without issue. Suggestions?

          If Barney Frank eats a fruitcake, is it cannibalism?

          A Offline
          A Offline
          Alan Balkany
          wrote on last edited by
          #24

          Had a similar situation in C# and solved it with: Environment.Exit ();

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups