Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Visual Basic (Microsoft) Versions 5/6 FAQ


Keyboard Shortcuts by HarleyQuinn
Posted: 4 Feb 08 (Edited 22 Feb 08)

Here is a list of shortcut key combinations that can be using while developing applications in VB6

IDE Navigation

F2        Object Browser
F4        Property Window
Shift+F4    Property Pages
F6        Change Window (Split Window Mode)
F7        Code Window
Shift+F7    Object (Design) Window
Ctrl+D        Add File
Ctrl+E        Menu Editor
Ctrl+G        Immediate Window
Ctrl+L        Call Stack (When in RUN mode)
Ctrl+R        Solutions Explorer
Ctrl+T        Component Window
Ctrl+PgUp    Go to Previous Sub/Function/Property (Declaration Line)
Ctrl+PgDn    Go to Next Sub/Function/Property (Declaration Line)
Ctrl+Up        Go to Previous Sub/Function/Property (First Line after Declaration)
Ctrl+Dn        Go to Next Sub/Function/Property (First Line after Declaration)

Code Navigation
Shift+F2    Definition
Ctrl+Shift+F2    Last Cursor Position
F3        Find Next (Last searched item)
Shift+F3    Find Previous (Last searched item)
Ctrl+F3        Find Next (Current Selection)
Ctrl+Shift+F3    Find Previous (Current Selection)
Shift+F10    Context Menu (occasional erratic behaviour, use ContextMenuKey instead)

Form Designer

Shift+Arrow    Resize Control
Ctrl+Arrow    Move Control (Direction)

Code Edit Shortcuts

Ctrl+Space    Complete Word
Ctrl+J        List Properties/Methods
Ctrl+Shift+J    List Constants
Ctrl+I        Quick Info
Ctrl+Shift+I    Parameter Info


F5        Start/Continue
Ctrl+F5        Start with Full Compile
Ctrl+Break    Break
Shift+F5    Restart


F8        Step Into
Shift+F8    Step Over
Ctrl+Shift+F8    Step Out
Ctrl+F8        Run To Cursor
Ctrl+W        Edit Watch
Shift+F9    Quick Watch
F9        Add/Remove Breakpoint
Ctrl+Shift+F9    Clear All Breakpoints
Ctrl+F9        Set Next Statement    
Ctrl+RightArrow    Show End Variable Value (tooltip displying variable value is truncated,
        use left arrow to view start again)

Hope this helps

Back to Visual Basic (Microsoft) Versions 5/6 FAQ Index
Back to Visual Basic (Microsoft) Versions 5/6 Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close