473,414 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Change Key shortcut in VS

I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.

Is there a way in VS 2008 to do this?

Thanks,

Tom
Sep 21 '08 #1
4 1343
tshad wrote:
I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.

Is there a way in VS 2008 to do this?

Thanks,

Tom

Hi Tom

Go to Tools Options Environment Keyboard, then search for
"edit.redo" command and then assign CTRL Y to it.

Regards
Warren
Sep 21 '08 #2

"Warren Tang" <wa*********@sina.comwrote in message
news:Oy**************@TK2MSFTNGP02.phx.gbl...
tshad wrote:
>I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.

Is there a way in VS 2008 to do this?

Thanks,

Tom

Hi Tom

Go to Tools Options Environment Keyboard, then search for
"edit.redo" command and then assign CTRL Y to it.
That was it.

Thanks,

Tom
>
Regards
Warren

Sep 21 '08 #3
In article <u2**************@TK2MSFTNGP05.phx.gbl>, Tshad wrote:
I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.
Just for reference, it's probably based on the old Wordstar shortcut keys
used in programmers editors like Emacs. IIRC, they used to be Ctrl+k
followed by a letter, and Ctrl+k y was delete line. These were the same keys
used in the old Borland editors, so in a way Microsoft are following
tradition.

--
Spence
Computing Services - because IT needn't be difficult
http://www.compservonline.co.uk/

Sep 21 '08 #4
"Spence" <spencelayhathotmaildotcomwrote in message
news:VA******************@a100-049-vista.tridentsystems.local...
In article <u2**************@TK2MSFTNGP05.phx.gbl>, Tshad wrote:
>I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.

Just for reference, it's probably based on the old Wordstar shortcut keys
used in programmers editors like Emacs. IIRC, they used to be Ctrl+k
followed by a letter, and Ctrl+k y was delete line. These were the same
keys
used in the old Borland editors, so in a way Microsoft are following
tradition.
Actually, you are probably right.

The default seems to be to set the keyboard mapping scheme to VB6. Not
quite sure why that would be the case unless there was something on my
machine that showed I had used VB6 at one time.

Thanks,

Tom
>
--
Spence
Computing Services - because IT needn't be difficult
http://www.compservonline.co.uk/

Sep 21 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: aa | last post by:
Thought this question might be out of this NG's scope, there are always knowledgable people who might hava an answer. A hyperlink to a shortcut to a file returnes an empty screen, and the source...
0
by: CR | last post by:
I want to change the target in the shortcut in the User's Programs Menu in the setup project. I want the shortcut to point to an exe on our local network. I've been doing this in VB6 and it works...
3
by: Terry Bell | last post by:
I have some code that adds entries to the "Module Compiled" popup menu. Works fine in A97. You can open a module, right click, and the new entries are there for you to click. I converted it to...
13
by: Andrew | last post by:
I use conditional compiler constants, set through the VBA IDE in Tools, <projectname> Properties, that I refer to throughout my code to control which code is used during development, and which...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
0
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to...
2
by: Ganesh | last post by:
I have to change the tartget property of a windows start->Program->X's shortcut properties using c program. Do we have any function for that ? please reply me ASAP.. as it is urgent !
0
by: Marcel | last post by:
Hi, the application I am writing has a MainMenu and a DataGrid (UltraGrid). Now I have to edit the text of each cell in this grid. So far so good. All works fine in editmode but if I press a...
4
by: Patrick Noll | last post by:
hi ng, i have a problem when i try to change the text property of a TreeNode just before the user is able to edit this property. Example: // Label before anything happens... TreeNode.Text =...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.