Hi folks,

i am making a simple program using vb.net 2017

i want to make a hot key like pressing keys.decimal + keys.enter at the same time to shutdown my pc.

i am using a bluetooth usb numpad so crtl key is not an option.

thanks for your help.


There are ways to hook into the sytem keyboard handler although I do not know how to do that. In lieu of that might I suggest AutoHotKey which would provide that ability plus a lot more.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.