Some Common Commands |
(key1+key2 means "Hold down key1 while pressing key2.") |
(key1/key2 means "Release key1 before pressing key2.") |
Environment and Editor |
Alt | Toggle cursor between main area and Menu bar |
Alt/File/Save All | Save the current program |
Alt/File/Close Project | Close the current program |
Alt/Window/Reset | Window Layout Reset to the IDE's default layout |
Alt/File/Exit | Exit Visual Basic |
Alt/View/Code | Display the code for the current program |
Alt/View/Designer | Display the Form Designer for the current program |
Alt/View/Solution Explorer | Display the Solution Explorer |
Alt/View/Full Screen | Enlarge Visual Basic IDE screen |
Ctrl+A | Select everything in the current document |
Ctrl+C | Place the selected text into the Clipboard |
Ctrl+N | Start a new program |
Ctrl+O | Open a program stored on disk |
Ctrl+P | Print a copy of the current program |
Ctrl+V | Replace the selected text with the contents of the Clipboard |
Ctrl+Alt+Break | Stop debugging |
F1 | Get context-sensitive help |
F4 | Display the properties window |
F5 | Run the current program |
F8 | Execute the next line of code while debugging |
Shift+F8 | Execute the next line of code while debugging, but do not follow execution through any procedure calls |
F9 | Toggle a breakpoint |
Esc | Close a menu or dialog box |
Controls |
Tab | Cycle forward through controls |
Shift+Tab | Cycle backward through controls |
Double-click object | Create a template for the object's default event procedure |
arrow key | Move selected control in the Form Designer |
Ctrl+arrow key | Move selected control to the edge of the Form Designer |
Shift+arrow key | Resize selected control in the Form Designer |
Delete | Remove the selected control |
Dialog Box |
Tab | Cycle forward through controls |
Shift+Tab | Cycle backward through controls |
Esc | Close the dialog box |
Toolbox |
Click on upright push pin | Collapse Toolbox into a tab at left side of the screen |
Click on reclining push pin | Keep Toolbox permanently displayed |