Assign Multiple Hotkeys and Save the Hotkeys for use it later
-
04 Januari 2012 15:11
Thanks for your guidance it helped. Now I need to know how to assign multiple hotkeys for doing different task in an application kindly provide me a working VB.net code example..
I want to assign hotkeys like CTRL+AL+SHIFT+ any char from keyboard at runtime at want to this key to be registered again whenever the application starts and retain all the previously assigned keys in a list box for future use.
I shall be very thankful to you for this.
Semua Balasan
-
04 Januari 2012 15:12
I want to assign hotkeys like CTRL+AL+SHIFT+ any char from keyboard at runtime and want this key to be registered again whenever the application starts and retain all the previously assigned keys in a list box for future use.
I shall be very thankful to you for this.
-
06 Januari 2012 8:36Moderator
Hi Shifty,
Thanks for your post.
How to register a hot key is a FAQ. Please refer to” FAQ: How do I register a hotkey in VB.NET? ”: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/c1a24688-d844-4adc-9d85-416a7158c6ba/
How to store the information you also can refer to:
My.Settings Object (Visual Basic): http://msdn.microsoft.com/en-us/library/saa62613.aspxUse XML to store the data: XmlSerializer Class: http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx
I’m afraid that this issue is too general for us to help you. You can start coding with the help of these links. If you have any additional questions, please provide more specific information.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
- Ditandai sebagai Jawaban oleh Mark Liu-lxfModerator 13 Januari 2012 9:13
- Tanda sebagai Jawaban dihapus oleh ShiftyThrower 26 Januari 2012 8:43
-
13 Januari 2012 9:13Moderator
Hi Shifty,
We haven’t heard from you for a while. I’d like to mark my reply as answer firstly. If you have any additional questions, you also can unmark the replay and post your question here.
Sorry for any inconvenience and have a nice day.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
-
26 Januari 2012 8:43I want to assign multiple hot keys at run time as many as one wants and want these keys to be saved in a list box for registering again whenever the application starts, and user should be able to just press any of its desired key combinations and the respective work should be done accordingly.