Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Anyone know if I can have visual studio prompt me if I really want to close it (I believe Eclipse prompts before closing)? Or some other way of stopping it from closing when I hit the "X".

Thanks

EDIT: To clarifybasically I wanted this b/c I have attempt to close an app that is in the foreground but accidentally closed VS b/c the other app was not maximized. VS can be rather slow to start up on my development machine (initialization of a couple of addin's and toolkits slow it down a fair bit).

In terms if annoying messages, I can understand that, but it could be an option (turned off by default) or you could be asked this question once and allowed to opt out from then on. This is exactly what Eclipse does.

In terms of my acceptance rate ... I can't defend that. I should be going back and accepting or clarifying my questions and will try to do so in the future.

share|improve this question

migrated from stackoverflow.com Jun 23 '10 at 4:19

This question came from our site for professional and enthusiast programmers.

1  
Isn't that like asking someone if they can make and stove burner that won't hurt if it's on and you touch it. –  Matthew Whited Jun 21 '10 at 16:03
2  
OMG you're one of those people. If you really need this functionality, ask yourself out loud before you exit an application, "Do I really want to exit?" This kind of thinking is responsible for every stupid program asking such inane questions. YES, I ALWAYS WANT TO EXIT! –  mcandre Jun 21 '10 at 16:04
    
I understand why you want it. I wish I knew how to do that. And I only want the functionality because sometimes I double-click the close button on an application and it closes Visual Basic too since that X is behind the applications X. –  Kyra Jun 21 '10 at 16:06
1  
VS asks you to save when you have unsaved changes. Normally that does it. –  Tim Schmelter Jun 21 '10 at 16:07
3  
At the same time... how many of us have been annoyed by the app that asked about 3+ times before you exit. "Click here to exit", "Are you sure you want to exit?", "Do you want to change your changes?" –  Matthew Whited Jun 21 '10 at 16:16
show 2 more comments

1 Answer

There are some utilities that allow you to do this for any application. For example, see http://www.donationcoder.com/Software/Skrommel/index.html#NoClose

share|improve this answer
1  
+1 for a correct answer - though I still fail to see the reasoning for this feature. Common sense should always prevail over software hacks. –  Chase Florell Jun 21 '10 at 16:10
    
Well, people have different tastes. In KDE every app that stays in systray asks you if you really want to exit when right-clicking the icon and choosing Exit. For me it was always annoying, but the dialog has a nice checkbox "Do not ask again". Every dialog should have such a checkbox! :) –  František Žiačik Jun 21 '10 at 16:16
    
Btw, I too often happen to close VS accidentally, but even more times VS closes itself without me wanting it (crashing) :) –  František Žiačik Jun 21 '10 at 16:18
    
It's usually not about common sense but about accidental clicking. If you go to restore or maximize and you click the wrong thing because you are moving quickly, it's an easy mistake to make. –  Matt Jun 21 '10 at 20:36
    
This workaround doesn't work for VS2012 anymore since it has custom designed box controls. Anyone has a solution for that? –  Koen Oct 30 '12 at 23:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.