[program-l] Re: VB: shortcut keys

  • From: "Will Pearson" <will-pearson@xxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Sat, 17 Sep 2005 12:12:51 +0100

MessageHi,

To add to Mr. Lan'ts excellent answer, you can find lists of shortcut keys on 
the Microsoft website.  Visual Studio 2005 has various keyboard schemes, with 
the keyboard shortcuts used to invoke functionality varying between the 
different keyboard schemes.  This is really to help people transition to Visual 
Studio from earlier versions.  You can find out which keyboard scheme you are 
currently using by looking at the options in tools > options > keyboard.  The 
following web page gives a list of the keyboard shortcuts that are the same 
across all keyboard schemes, and gives a list of keyboard schemes that allows 
you to select one and view the keyboard shortcuts for that scheme, the page is 
at:
http://msdn2.microsoft.com/en-us/library/da5kh0wa

To add a bit more information about navigating the tool box.  The tool box is 
arranged in a style similar to a tree control with two levels.  The first level 
are the toolbox groups, which represent the types of controls you can place on 
a form, e.g. common controls, dialogs, etc.  You can expand these using  the 
right cursor key, and collapse them using the left cursor key.  Within the 
toolbox groups there are toolbox items, which are the actual controls you can 
place on a form.  If you press enter on a toolbox item then it will be placed 
on the form.  To get back to the forms designer from the toolbox, simply press 
escape.

Will
  ----- Original Message ----- 
  From: David Lant 
  To: program-l@xxxxxxxxxxxxx 
  Sent: Saturday, September 17, 2005 10:52 AM
  Subject: [program-l] Re: VB: shortcut keys


  Hi Che,

  Just to answer your immediate problem first, all you need to do to put a 
button on your form, is open the toolbox with ctrl+alt+X, and then use the 
arrow keys to locate the button control and press enter.   This normally drops 
the control at the top left of the form, or, if you already have controls on 
the form, it will drop it immediately below the control that is currently 
selected on the form designer.  You can then move the control on the form using 
just the arrow keys, or ctrl+arrow keys for smaller increments.  You can also 
resize the controls using shift+arrow keys, or shift+ctrl+arrow keys for 
smaller increments.

  Visual Studio itself has a helpful facility whereby you can look up the 
keyboard shortcuts for all the available commands and functions.  You should be 
able to find the default shortcuts documented in the online help that comes 
with the product.  I don't have the beta of Visual Basic Express, so I don't 
know whether the online help is actually included or not.

  The handy facility is in the Options item under the Tools menu.  When you 
open this dialog, you get a tree view of the different sections that you can 
set within the Visual Studio environment.  One of these is the Keyboard 
mappings.  When you navigate to this section, there is a text box you can tab 
to where you can type in the start of the name of the command you are looking 
for, and it will then list all the commands that begin with that text, and show 
what keyboard shortcuts are assigned to each, if any.  You can also override 
them, or add new ones where there aren't any.

  Visual Studio.NET, and subsequently Visual Studio 2005, allows you to have 
keyboard shortcuts for virtually everything you're ever likely to want to do, 
other than operate the mouse directly.  Therefore, JAWS itself shouldn't really 
need to include many shortcuts of its own to help the blind programmer.  I've 
even reported to the writer of the current VS.NET scripts supplied with JAWS, 
and suggested he remove some of the shortcuts included, as they're simply 
duplicating shortcuts already present in the development environment.  The only 
things JAWS needs to provide are commands to control JAWS itself, such as 
providing feedback and customisation of prompts etc.

  Oh, and if you think that there are way too many commands to find enough 
keyboard shortcuts to assign to them all, then that's been thought of too.  In 
Visual Studio.NET, you can assign two stage shortcuts.  That is, you press one 
shortcut, to indicate a particular type of command is about to be issued, and 
then another to specify the actual one.  An example of this is for commenting 
blocks of selected code.  If you use the standard shift+arrow keys to select a 
few lines of code, and then press ctrl+K, and then press ctrl+C, you will 
comment out the selected block.  To uncomment the block again, simply highlight 
the lines again, and press ctrl+K followed by ctrl+U.  As you can see, by 
having these two stage keyboard shortcuts, you vastly increase the number and 
combination of shortcuts available to you.

  All the best, 

  David 

    -----Original Message-----
    From: program-l-bounce@xxxxxxxxxxxxx 
[mailto:program-l-bounce@xxxxxxxxxxxxx] On Behalf Of Che
    Sent: 16 September 2005 11:45
    To: program-l@xxxxxxxxxxxxx
    Subject: [program-l] VB: shortcut keys


      Does anyone know where a current list of Visual Studio shortcut keys can 
be found?  I tried the links at blindprogramming.com, but they are dead links.
      I am working through  a tutorial that is asking me to drag a button from 
the toolbox onto my form, but obviously I can't do that one.  I hope there are 
shortcuts for this kind of thing?  I tried to do a copy and paste of the button 
from my toolbox, but that didn't work either.
      Thanks.
      Che

      Come check out the brand new football 
    betting simulation designed with the 
    blind in mind at http://linksforblinks.com

Other related posts: