VS - prompt before exit?

When I'm about to exit VS2005 (or VS2003) it doesn't prompt me if I'm sure. Is there any way to set this option? I looked in VS options and searched registry keys, but didn't find anything. I'm probably missing something obvious. Can u help me, please?

Thx in advance

[285 byte] By [.netAli] at [2007-12-24]
# 1
Well, VS actually prompts me on exit when I'm in the middle of debugging session or I have some files unsaved, but otherwise this doesn't happen. It often happens that I click exit button by mistake, which is especially annyoing when I work on larger project. So ... any ideas?
.netAli at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2
I don't see anything in Tools + Options. If you hit the key too easily (what key?), change the key. Tools + Customize, "Keyboard" button.
nobugz at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3
It happens when I close a couple of windows consecutively (usually with a click on close button in window titlebar or with ALT-F4).
.netAli at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 4
Hmm, still doesn't add up. The windows have their own close button, the one with the black X. Do you use the tabbed documents interface (Tools + options, General, "Window layout")?
nobugz at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 5
I use tabbed document interface, but I really dont see how is this relevant here. I would just like that VS *always* asks me something like "Are you sure you want to quit Visual Studio?" when I'm about to exit.
.netAli at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 6

You'll only be prompted if there is unsaved information in your solution. Otherwise, if everything is saved, there is no prompt. (That's pretty much the corporate guideline for MS apps.) There is no setting which will force a prompt if everything is saved.

--Matt--*

MatthewGertzMS at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 7

Thank you for the answer.

Rgds

.netAli at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...