Sayan,
Do you need to disable the keypresses for just your application, or do you need to disable keypresses for all applications running on the PC? If it is just for your application, then the method put forth by srusti should work fine . . . if it is for all applications on the PC . . . well, it can still be done, but it gets a litle more complicated. Let me know which one you are trying to do. - Jeff Marler B-)