Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Highly Rated Users

Forum
No Posts Rated

Top 50
Given
Received

Links

Wiki
Blog

Forum Statistics

Users
Members:
1873
Members Online:
2
Guests Online:
73

Total Post History
Posts:
81445
Topics:
18714

7-Day Post History
New Posts:
0
New Topics:
0
Active Topics:
0

Our newest member
BitogClogs

Other

FAQ
All times are UTC [ DST ]

Google Ads

FAQ: Keyboard Shortcuts.

Please wait...

FAQ: Keyboard Shortcuts.

Postby HarleyQuinn on Mon Feb 04, 2008 3:23 pm

Here is a list of Shortcut keys that can be used with VB6. There are also some misc. shortcuts included that may be useful.

MS Standard Shortcuts that can be used in VB:

Ctrl+C		Copy (If active window is a messagebox, will copy contents of messagebox)
Ctrl+P Paste
Ctrl+X Cut
Ctrl+F Find
Ctrl+H Replace
Ctrl+P Print
Ctrl+A Select All
Ctrl+Z Undo
Ctrl+N New (Project)
Ctrl+O Open (Project)
Ctrl+S Save (Currently Selected Object)


VB Specific Shortcut Keys:


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


Run

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


Debug

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)


Misc. Other Useful (or maybe not) Shortcut Keys

WindowsKey+D	Show Desktop
WindowsKey+E Windows Explorer
WindowsKey+F Search Window
WindowsKey+L Lock Computer
WindowsKey+M Minimize all Windows
WindowsKey+R Run
WindowsKey+U Utility Manager

Ctrl+F4 Close Child Window
Alt+F4 Close Active Window (if no active window, display Shutdown menu).

Alt+Tab Cycle Open Windows
Alt+Shift+Tab Cycle Open Windows (Backwards)

Alt+Space-->R Restore Window
Alt+Space-->M Move Window
Alt+Space-->S Size Window
Alt+Space-->N Minimize Window
Alt+Space-->X Maximize Window

Ctrl+Shift+Esc Task Manager
Last edited by HarleyQuinn on Mon Feb 04, 2008 4:35 pm, edited 3 times in total.
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK

Re: Possible FAQ: Keyboard Shortcuts.

Postby chrissie1 on Mon Feb 04, 2008 3:28 pm

you can either use fixed width tags as mono or code (faq.php?mode=bbcode&sid=7a98692f2033ac1464248aeaa0aecbf3#f21) or use the yet to be documented table tags(somewhere there is a post about them).
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135
LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135
LTD Gold - Rating: 2135LTD Gold - Rating: 2135
 
Posts: 9475
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: Possible FAQ: Keyboard Shortcuts.

Postby HarleyQuinn on Mon Feb 04, 2008 3:32 pm

Cheers Chrissie, I'll get looking at that and sort the formatting out :D
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: Possible FAQ: Keyboard Shortcuts.

Postby HarleyQuinn on Mon Feb 04, 2008 4:03 pm

Updated :D
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: FAQ: Keyboard Shortcuts.

Postby HarleyQuinn on Mon Feb 04, 2008 4:36 pm

Can someone please delete the extra posts by Chrissie and myself and I'll keep this as an FAQ.

Cheers :D
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: FAQ: Keyboard Shortcuts.

Postby chrissie1 on Mon Feb 04, 2008 4:38 pm

I think we can keep the comments.

But if you like you can post this on the wiki and keep a link in + content in here.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135
LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135
LTD Gold - Rating: 2135LTD Gold - Rating: 2135
 
Posts: 9475
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: FAQ: Keyboard Shortcuts.

Postby HarleyQuinn on Mon Feb 04, 2008 4:41 pm

Cool.

Can't post to the Wiki, it says I need to log in and then when I do (via the link) it tells me that there's no user called HarleyQuinn :cry:

Do I need a seperate login or am I not allowed to post Wiki entries? ;)
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: FAQ: Keyboard Shortcuts.

Postby chrissie1 on Mon Feb 04, 2008 4:44 pm

So you first login with LTDDev, right?

And then you need to create an account (for now). I can't remeber if I did that before or after the change. I will check it tonight.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135
LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135LTD Gold - Rating: 2135
LTD Gold - Rating: 2135LTD Gold - Rating: 2135
 
Posts: 9475
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium

Re: FAQ: Keyboard Shortcuts.

Postby HarleyQuinn on Mon Feb 04, 2008 4:53 pm

Yeah.

OK, I've created my temp account (TEMP_Harley) and I'll post the Wiki entry when I get back from work as it'll require a bit of editing (obviously can port straight from the forum post).

Cheers again Chrissie :D
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated