It is possible to block any keyboard combination using a registry hack but it will then apply for all Windows applications on that computer.
It would also need to be added to each computer
The easiest way to do this is to download a utility called SharpKeys from:
https://github.com/randyrants/sharpkeys
Or you can edit the registry yourself if you feel confident about that!
Thanks. But i need to do that only for My Database. So this solution seems not perfect fit.
For other keys, i used following code on KeyDown Event of relevant forms e.g.
-------------------------------------------------------
If KeyCode = vbKeyPageDown Then
KeyCode = 0 ' Kill the keypress
End If
If KeyCode = vbKeyPageUp Then
KeyCode = 0 ' Kill the keypress
End If
If Shift = acCtrlMask Or Shift = acCtrlMask + acShiftMask Then
If KeyCode = vbKeyAdd Or KeyCode = vbKeySubtract Or KeyCode = 187 Or KeyCode = 189 Then '187=+ and 189=-
KeyCode = 0 ' Kill the keypress
End If
End If
-------------------------------------------------------
But not able to stop Break key with this technique.