Exit Command (File Menu)

   

Closes the current project and quits Visual Basic. If you try to quit Visual Basic before saving changes to your work, you'll be prompted to save your work first.

Note   When you exit Visual Basic, you may be prompted to check in the Visual Basic files to the source code control project if you are using an integrated source code control program, such as Microsoft SourceSafe (available with the Enterprise Edition), and you have any files checked out.

Keyboard shortcut:  ALT+Q.