I hope I am in the right forum. I was wondering anyone could help me make VB.NET 2008 Do the following Key stroke: Windows Key+Alt+Enter
Can Anyone Help Me? I am trying to get it to Open MCE.
Thanks Matchlighter
Printable View
I hope I am in the right forum. I was wondering anyone could help me make VB.NET 2008 Do the following Key stroke: Windows Key+Alt+Enter
Can Anyone Help Me? I am trying to get it to Open MCE.
Thanks Matchlighter
Do you want this to happen only when your app has focus or any time?
Anytime. I am trying to make my own MCE Remote with an Arduino Board and VB.NET. VB.NET being the interpreter and Computer side command executor
You'll need to use the RegisterHotkey API, which tells Windows to notify your app whenever a specific key combination is pressed. There are examples about, including one in the VB.NET CodeBank forum I believe, so you should check them out.
I'm not sure you understand. I don't need VB.NET to read the strokes. I need it to perform the strokes.
Ah, sorry. In that case you might want to look at the SendInput API. In theory you could use SendKeys.Send but I'm not sure that that supports the Windows key and it does have some limitations too.
How Do I use SendInput API? I'm sorry, but I'm really new to VB.NET.
I've never used it myself. If I wanted to know how I'd search for existing examples. You can do the same. You can always post back if you have trouble but when someone gives you key words, the first thing to do is search.
I searched it but didn't understand it. Do you know if there is an easy way to start an application? And Can SendInput Send Its input directly into the system? From what i found it looks like it only does other programs.