o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Capture keyboard input -

Hello there, I need to make a program that can capture keyboard input from any window that has input focus. Anybody can help me out with some piece of code?

 

Capture keyboard input -
Hello there, I need to make a program that can capture keyboard input from any window that has input focus. Anybody can help me out with some piece of code?


Capture the hex code from keyboard input -
Hello, How would I write a small app that would capture the hex input from a character entered on the keyboard. Basically, I am trying to figure out the ASCII hex code of another language. I have add the other language in control panel and am able to use the keyboard to type in that


Keyboard Capture -
Anyone know how to create a keyboard capture app in VB? I need this to monitor a windows 98 machine. I have tried using the GetMessage API call, however I don't have much practice with the API so I may just be doing it wrong... Also, does anyone know of a way (in VB) to bypass t


Capturing keyboard input -
Hi! I want my program to capture a keyboard stroke. I have it so that when you double click on a text box, another form comes up and asks for you to enter a button. I need my program to capture the button hit and put it into the variable 'key' (its a string). So if I hit the 'A'


How to capture keyboard events from other applications -
Does somebody know how I can capture keyboard events when another application is the target? Is it also possible to capture keyboard events from a particular application only? Thanks in advance, John,


Keyboard AND Mouse captured by DX8 -
Hi, When working with the tutorials of directx4vb.com I learned how to capture the mouse with dx8 and how to use the keyboard. But in my engine I require the use of both. Is it possible to se them both at the same time (event based plz). I guess it's the way how you set them up a


How to read arrow keys in keyboard -
Hi, How can I capture arrow key press in keyboard? I can't use the key_press event to capture it?


Capturing a keyboard input -
Hello! I would like to know how do i capture the key input by a user on a keyboard? Private Sub btnVoid_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVoid.Click Dim rowIndex As Integer = DataGridView1.CurrentRow.Index 'if user pre


[2005] Keyboard input -
I need to be able to capture multiple keys. How do I do it?


Keyboard settings - Input locales -
I need to read the keyboard setting, under Input locales (I have to swith between danish keyboard and US Keyboard). How do I do that?


Disabling keyboard -
Hi, Can anybody suggest how to disable the whole keyboard? I don't want the client to give any input from keyboard. But, I want to use mouse. I want to make keyboard like its disconnected physically from CPU. Can anybody help me.. Thanking You.


another comport question: capture input on com1 -
how can I capture the input on the com1 port, created by a device on this port? I tried to just open the com port and then display the input you get, but I can only capture data I send myself to the port. How can I capture ALL the incoming data? Thanks


Reading KeyPress from 2nd USB Keyboard -
Greetings all. I've had a chance to read through a lot of great information; you guys are doing a great service for the community. I'm running Windows XP (SP2) with VB 6. I have 2 USB keyboards (Logitech keyboard as my primary keyboard and a Cypress keyboard as a secondary, I hav


how to distinguish sendkeys from actual keyboard input -
is there any way to know onginal keyboard input by a user manually or input using SENDKEYS? i am trying to build a software in my regional language that can use to type in all windows applications..... for that i set a global keyboard hook.... when the user types it takes the key and


Direct Input 8.1: Keyboard Numbers -
I am using a keyboard as input for a game that a friend and I are writing. When using direct input, it sends a numerical code representing every key on the keyboard. I was curious of a way to convert that numerical code into the key name it represents. The only way I know of is a massi


add keyboard (Input Locale) -
does anyone know how to add a keyboard (Input Locale) on windows 2000? I want to add the Input Locale: French (Canada) Keyboard Lasyout/IME: Canadian French Any ideas? VB or a dos command will do.. Thank you


avoiding -
how can i avoid an input from keyboard in an input box in the key_down procedure i call a function that is linked to the ok button on the form I use the enter from the keyboard for the key_down and the focus is on an input box


KeyBoard Hook -
I'm trying to capture keyboard keys using SetWindowsHookEx API call. I want to trap certain alphabets of the keyboard and want to type another alphabet in that place. e.g. if the user presses M key, it should type K and so on. I think I've not been able to handle hInstance ThreadID


[2005] Disable mouse and keyboard input -
Is there a way I can do this easily? I have a main form loading with 3 check boxes that the user can choose, mouse input , keyboard input or both. Instead of loading 3 seperate forms is there a way I can just disable input from mouse if they choose keyboard only or disable keyboard if


keystroke / keyboard emulation -
Hi, I want to create a form that is act as mini keyboard, let say with 4 buttons "A" "B" "C" "D" when clicking on those button, it will act as press the keyboard letter A, B,C or D and put the value on to the input field that is focusing on th


Capture keyboard outside of vb program -
Hi I am wanting to capture keyboard strokes from outside of the program I am writing. Does anyone have sample code for this? More specifically, if it helps, I have a barcode reader send keystokes to excel, and I need to push the enter key for every entry. My plan is to write a progra


[ask] blocking keyboard press -
dear guys i have a text box but i want the input is from the button in the form. i don't want from the keyboard can i block the keyboard from pressing???? thx


Incoming keyboard input -
how can i detect keyboard input when my form is not focused... (eg. When shift + A +K is pressed it hides itself...)


Capture PC Audio to a file -
Hi, I am just curious if there is a way of using VB code to capture the audio output from a pc to a a wav or mp3 file. It would be similar to keyboard capture which records all the kb strokes into a file. If so, where should I start? Thanks in advance, PhiL


Keyboard Buffer API -
Does anybody know how to extract the contents of the keyboard buffer? I'm in the process of integrating a keyboard card reader. In order to extract the contents, I have to set focus into a text box. The result of the scan will then in turn populate the text box. Rather than doing this,


disable Keyboard input -
a PC has 2 input devices (Keyboard and Barcode Reader). I just want to use Barcode Reader in the VB program. Can we disable Keyboard input only in the VB program? I have tried to set KeyAscii=0 in KeyPress event. It can disable the Keyboard input It also disable the Barcode R


picking up keyboard input no matter what control has focus -
I am trying to write generalized code to handle keyboard input, regardless of the active control's keyborad subroutine. is that posible? I am working with VB 6 if you must know


Need to Fake Keyboard Input -
I was trying to make a macro program to do some simple tasks for me that consist of hitting a few different keys. I tried the methods I found in the forum here but none of them worked with the program I was using it on. Is there a way to actually fake keyboard input instead of havi


Press the control button, hold it there and user can select the rows randomly -
Hi everybody I have attached a screen capture. In the screen capture, the user pressed on the control button from the keyboard, hold it there and selected logical number 2 and 5 at random, may i know is there anyway to disable this function but i would like to retain the function of


Keyboard input in MDI -
Hello, I'm trying to catch all my keyboard input in an mdi app in my main frame. Just like the C++ Pretranslatemessage function. I want to be independent of focus or ar active forms but catch them all. How do i do this!!!????


Keyboard Input Disables Problem -
We have an application written in Visual Basic 5 that runs great on Windows 95 and Windows 98. The problem is that now we want to change to Windows 2000 and after a short time of my users entering data keyboard input becomes disabled. This seems to happen when the NUM LOCK key is dow


[2008] Wait for keyboard input -
Just a quick question, what is the best way to wait for keyboard input in an application. For background this is a morse code trainer application and I want it to pause after the morse is sounded to allow the user to input what they think the characters were, once the key has been p


How can I use the Windows API to get the threadID for a foreign app -
Can anyone tell me how to obtain the threadID for the main window of a foreign application? I need to disable keyboard input temporarily so that the user doesn't interfere with an automated process. I've done this in the past for the current application, but now one of our projects h


[02/03] Sendkeys Alternative -
I currently am using Sendkeys to send keyboard input to my application. I know the application works because I can open up notepad and the correct text is entered into notepad. However the application I am trying to send keyboard input to does not respond to sendkeys. Can I use an api


Is there a 'good' way to capture a barcode scan in VB -
I've written a few apps in the last couple of years that capture barcode scans from a USB or keyboard wedge scanner, but mainly they consist of a hidden text box that has the focus that I periodically clear with a timer (to prevent typing) amd capture with a form_keypress event looking


[2005] Card Reader -
I have a card reader that sends keyboard input to the system, then whatever the focused control is in windows receives they keystrokes. If the users swipes the card and my program is active, and the cursor is in a textbox, the card reader puts the info there. I have a few issues:


Changing handling of keyboard input -
I'm looking for something that will change the way keyboard input is handled. Someone told me when they press down 2 keys, such as 1 and enter, it will repeat that sequence of all keys over and over: 1 and enter. When I do it, I get 1, then a whole bunch of enters. I'm thinking this


Where can I buy a US keyboard in the UK -
It's a simple question. It's a stupid situation. I'm in the UK. I do not like the UK keyboard. I am accustomed to the US keyboard. I want to use the US keyboard. I don't want reasons as to why I should use the UK keyboard. (I'm aware of using Regional settings, but I want th


Locking keyboard input -
I'm writing a little program similar to "netnanny" When the user surfs to a site like "http://www.xxx.com", how do I lock keyboard input so as to close the window?


- Keyboard or input options disappeared -
Hi! On execution on Pocket PC or Emulator my SmartDeviceApplication's form is not showing any keyboard or input options, even on reducing form size to 248x252. Any idea?