Pls help..How to disable "Print Scrn" button in VB application
Hello,
New to VB. I have a VB application. When the user is using this application, I would like to disable the usage of "Print Scrn" button. I mean if the user hits the "Print Scrn" button, he should not be able to capture the screen shots in the buffer. In the Form_Keypress event, I tried to capture the ascii value of the button. But I can capture all other buttons except "esc" "F1 F21", "Print Screen", "Scroll Lock", "Pause" buttons.
Can someone point me the right direction..
thank you
nath
Thankx to both of you..but..
Thanks to you all. It works fine. As long my screen/form is active and if the user hits Print Screen button, the code works.
But when the user shrinks my VB application (I mean the screen/form which has code) and is viewing other applications on the desktop and if hits the print screen button, he will get my VB Screen (which is shinked in size) and other application into the clipboard. How can I avoid this scenario.
Could someone point me right direction please...
thank you friends.
nath
Is it possible in a Browser
Hello my friend
Your piece of code works in VB .
Thank you for that.
Is it possible to implement same solution in a Browser?
thank you
bnath001