I just cant seem the find the equivilent command in Vb.net.
I need to map the F5 key to a a sub called save and for some reason I annot find how to do this in vb.net and it is driving me insane!! :)
In the world of C# the windows form has an event called KeyDown that you subscribe to. I'm sure the VB.NET Windows Forms has the same event since they are subclass from the same namespace and class.
You're code would look something like:
If e.KeyValue.ToString() == "116" Then me.ExecuteMethod() End If
I'm not familiar with VB.NET but I'm sure you can figure it out from there.