Solved

Programatically Add a Windows Shortcut Key using .NET

Posted on 2009-05-09
2
419 Views
Last Modified: 2013-11-08
Hello,

I'm interested in how to Programatically Add a Windows Shortcut Key with .NET.  The shortcuts I'm referring to are not the icon kind, but the Key (or Key Chord) kind.  If you view the properties of any executable (Calc.exe for example - See picture), the third text box down says Shortcut Key.  You can manually enter in a Key Chord, but how do I do this Programatically?

Thanks!
calcProperties.jpg
0
Comment
Question by:Cayman21
2 Comments
 
LVL 19

Accepted Solution

by:
elimesika earned 250 total points
ID: 24346104
HI

Basically, you should use WIN32 API  RegisterHotKey

http://www.codeproject.com/KB/miscctrl/ashsimplehotkeys.aspx
0
 
LVL 80

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points
ID: 24347022
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question