Disable Certain Keyboard Key ?
Nov 9, 2011Is it possible to disable certain keyboard key?
View 1 RepliesIs it possible to disable certain keyboard key?
View 1 RepliesI am looking to create a VB.NET application. when the application is opened it will disable the keyboard and mouse so if you hit any keys it does nothing and you can not move the mouse. (even if currently selected window is not that of application).
MUST WORK ON WINDOWS 7!
Yes wat is the Source Code for Disabling Mouse and Keyboard?(For VB 2008)
View 2 Repliesi'm currently working on a security program and i need to temporarily disable some key combinations using vbnet. Key combinations such as: Ctrl-Alt-Delete, Alt-Tab, Alt-Esc, Win Keys, Alt Keys, Esc.
View 1 RepliesI am working on a voice recognition security system using vb2010 and now, my problem is on how to disable the keyboard, specially viewing Task manager while my application/program is running?
View 3 RepliesTo start off with, I will say that I have tried ENDLESS attempts to surpress/capture/stop the actual sleep keystroke.
The code cannot require administrator privilege's. .
I tried:
Private Overrides Sub ProcessCmdKey, and Return true when the sleep key is pressed - did not disable sleep key LowLevelKeyboard - One that can disable the windows logo key - did not disable sleep key And many other keyhandling events, etc.
The code cannot create registry keys because that requires admin privilege's.
How can i disable the keyboard and mouse input?
Its not working:
Option Strict On
Option Explicit On
Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Boolean) As Long
[Code]......
In visual basic how can I make the user's cursor not visible and the keyboard input not "enabled"?
View 1 RepliesI am kind of amazed that there is no answer to this anywhere and I mean anywhere. I am looking for a way to disable the keyboard (actually all input) on a computer. There are several threads about it but no one has ever posted any serious, working code. I know someone is going to inevitably ask "why would you want to do that"? Actually why I want to do it is immaterial but if you must know... I am playing with a "USB Keylock". When this USB Keylock is not present in the computer I want to disable the keyboard. When it is present I want to enable the keyboard.
View 8 RepliesI have done some reasearch on disabling the mouse and keyboard both on Google and on the forum and what ever i find can not get to work. What I'm trying to do is on a click of a button it will disable the mouse and keyboard. It must work in W
View 4 RepliesHow can I disable the windows button on the keyboard while my application is focused?
I'm having an endless problem with users accidentally pressing the windows key on the keyboard which causes the application to lose focus. They are capturing data, so when they finally realize that while they were typing nothing happened. They have to find the place where they lost focus and redo everything from there. This is very time consuming and as we are paying our data capturers by the hour this turns out to be an expensive flaw in the application.
I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example
[Code]....
I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.
I have created a virtual keyboard like the "Windows onscreen keyboard". So, I have used the method sendkeys.But if I click on the button, it doesn't write nothing.
I think I have a problem with the FOCUS.As you can see, the "Windows onscreen keyboard" is always on top.This doesn't happen to my form. How can I do?
to disable right click and to disable the start button and task bar?
View 4 Repliesoke On-Screen keyboard through my VB code. I am using windows 7 and below code to open the keyboard. Everytime when i run this code i am getting error "Could not start On-Screen keyboard".e to fix this error?
Dim proces As New Process
proces.StartInfo.UseShellExecute = False
proces.StartInfo.RedirectStandardOutput = True
[code].....
Need to make the Keyboard's LED (Caps lock / Num lock or Scroll lock LED) blink either using C# or VB.net. (With or without using interop is fine)
View 2 RepliesThis may sound like a dumb question but I need to know. I know you can tell which keys are pressed on the keyboard but I like to know if I can do something.Ok, heres what I am trying to do. A user is in another program that is max on the screen. He has to press Print Screen to take a screenshot, but he got to min the screen he is in to paste the screenshot into paint. This causes slow loads on maxing that screen and sometimes crashs of the program. I already got the code done to check when the program is running and to capture the screenshot and save it. What I to do now is, find out while in the other program with my program running in the background, if the user has pushed the Print Screen button.
View 2 Repliesok here is the situation. i have a form that is hidden. the form needs to wait until somone hits the F2 button.
View 1 RepliesI am trying to create a pong game. I have read and understood the tutorial on this website which I have also read the topic on this forum that has asked about using the keyboard in pong.This is the type of code they used which works:
Private Sub frmPong_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyValue = Keys.W Then
[code].....
I m writing a accounting application. I want to Display buttons With text "F12" underline For Keyboard shortcut like in tally 9.0.
I have tried to write &F12 in button text propertity but it doesn't work.
Can anyone explain what the following vbkey constants are as actual key presses? I've tried searching and really can't find any info other than vbKeyCancel = CANCEL key. Well, what's a cancel key? I dont have one on my keybaord...I read somewhere that CANCEL = Ctrl+C. Is that true? If so, what are the other few I have listed?
Constant
Value
Description[code].....
I want to be able to edit my text box pretty much like you can with windows notepad..
in notepad, when you press CTRL + C , it copies, CTRL + V , pastes , and so on.
In my form have the Toolstrip menu and it have the 3 Buttuns with image and text. now I want to add the short cut key for this ToolStrip buttons like "Cntrl+any one char"
I dont want Alt+key type short cut. how can I add the keyboard short cut key using with Cntrl+key.
Are there any known sofware approaches to anti-keylogging,that defeat both hardware and hook based loggers? While I was thinking about my next article, and the current ones, something dawned on me, that I had started before but never got to finish.After doing some research I verified that an On-screen keyboards, avoids most if not all hardware loggers, but the consensus is that their messages can still be hooked and stolen.Well maybe not so fast....
However, in my sendkeys article,the program could identify which keys were sent by my module, versus some other source.I used the integer -11, in the getextrainfo param, so that in my hook, I could know to allow my simulated keys, and block others that may interfere. Works great. I just used -11 for the heck of it.So, the idea is that we don't have to use -11.A sequence of random numbers could be generated by the osk.This provides some anonimity, to start with.But, the clincher is that when our user keys are detected by our osk(ourself basically), we simply insert 0-5 random keys, flooding the enemy logger with useless information in the que. Bingo!Sure they logged your keys, but can they read em? Nah.
The zero through five would not be fixed, but fluxuating, so it's not equidistant.I just picked them so as not to over flood the que for no reason. That is enough to obsure the password being typed.
i really dont get it. i want to put keyboard shortcuts on the button i have other than clicking this buttons. but the problem is i dont know how. i tried putting an ampersand (&) sign before the text of the buttons and it work, but the ampersand sign also displays. heres the original code:
Button1.Text = Mid(ChoosenWord, PickedSeq(0), 1)
Button2.Text = Mid(ChoosenWord, PickedSeq(1), 1)
Button3.Text = Mid(ChoosenWord, PickedSeq(2), 1)
[code]....
I have a barcode scanner connected to a PC that working with a c# program.now i want to distinguish between the scanner and the keyboard which one is sending data to my program.
somebody said this to me in another topic(but i can't do this yet): basically you can configure the scanner to send some characters that basically tell the computer "hi, it's me". When you see those characters in your input stream, you know the information is coming from the barcode scanner, not from something the user typed on the keyboard. Did you check the manual that came with your barcode scanner? It should have more information about this.
I've written an app with a simple textbox which attempts to identify a user from their typing habits (interval between key presses, duration key is held, time between key strokes ie a->s is quicker than a->v for some users, shorter for others depending on typing style). It's far from perfect but it does correctly identify moderate-large differences in style.I'm hoping to use this as a form of security monitor - If the typing style of the user doesn't fit a recognised pattern, report to a central server.
Of course, the next step in testing this is to begin to capture "regular" typing habits - ie when browsing, switching between apps, etc.What I can't figure out how to do is capture keyboard input for all applications (excluding the login/welcome screen, alternate desktops, etc. - I have no reason to parse that and there's probably not enough input to analyse anyway)Disclaimer: Yes, I know this comes dangerously close to writing a keylogger which is verboten but if I wanted to do that, I'd write a keyboard driver in C++ - I'm sure it would be far more streamlined and easier to obfuscate than a hulking .Net MSIL assembly. I have no doubt I'll be fending off "That's a keylogger" comments but I've hit a wall and need to ask somewhere.
How do I make the form captures the keyboard events when it is inactive or was in the background in Visual Basic 2008
View 2 RepliesChange tabs in the IDE using keyboard?
View 3 RepliesI have found a program called ledsdriver( http:slicksolution...edsdriver.shtml ). i can control the serial ports on your pc but also the keyboards lights (caps lock,num lock and scroll lock). The good thing is if i connect 2 keyboards i can chose which one i want to change the lights.I want to make one that could control the keyboard lights but only on one keyboard. I wold like to make my own because i could customize it(that one isn't open-source). How can i do that?
View 3 Replies