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 massive case select, but I would think there would be an easier way. Any suggestions?
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
using event Based Direct Input -
Im trying to use the keyboard to control my program (virtual sampler) , i need to know how to use event based direct input, i tried the tutorial in directx4vb but i have many doubts, i just need it to recognize keys from the numpad and to trigger my sounds, im already using direct x
t
Help with Direct Input -
Hy,
I downloaded the DirectX 8 SDK from microsoft. I looked at the VB sample code for Direct Input, and, guess what, it worked! Now, my problem is, how can i send a message or key to a program that receives his user input through Direct Input??
PS: If you don't understand, pleas
[2008] Direct Keyboard Mouse Input -
I would like to directly control the mouse and keyboard LIKE keybd_event, but without any API. I need to directly send keys to the stream like I think would be possible with assembler.
How would I go about doing this?
Direct Keyboard/Mouse input -
I would like to directly control the mouse and keyboard LIKE keybd_event, but without any API. I need to directly send keys to the stream like I think would be possible with assembler.
How would I go about doing this?
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.
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
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
[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
[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 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?
input problem -
i am trying to input a series of numbers into an array,validate the numbers and then retrieve and compare these numbers with a set of randomly generated numbers can you help!
'Scanf' numbers into array... -
Hi,
Is it possible to use scanf to input numbers from the keyboard and store them in a array? I know it's possible with character strings.
thnx
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
Direct Input -
Hi all,
I'm in the process of writing my first game in VB and I'm using Direct X. Its a very simple shooting game for a school project. The game runs well so far but I notice a marked slow down when you repeadedly press the mouse buttons quickly. I am not using Direct Input now, wo
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
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
Keyboard Input using Direct X -
Hello there, this is my first post.
I am designing a piece of software to be used to control a camera mount on one of our vehicles. The software creates a socket between the windows machine and the motor's machine running linux. the vb.net app running on windows sends and receives
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
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
Direct Input Grid -
Hello !
I am looking for a Grid that allows direct input from the user. Wich one would you recommend? I have been looking in the VB component list. I am fighting now with MXGrid. But I dont know how to make it so it let me insert words direclty.
Thank you for your help!
KeyBoard Keys. -
I was just wondering in VB that there is a number assigned to each key on the keyboard. I know there is but I dont know the numbers for each key. Can anyone help??
Input box w/bubble sorts -
I have the code for a numeric bubble sort. Im having a problem figuring out how to use an input box to ask the user for an amount of unknown numbers and then using an input box to input the uknown numbers. Does anyone know how to do that?
Using keyboard number keys -
To all,
Using vb script, how will I bind keyboard key numbers to command button?
Thanks
[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
Keyboard and Mouse Dead [resolved] -
I have an interesting problem for you all. There is a windows 98SE machine in my office which was running fine for as long as it has been here. Yesterday I sat down and used the windows add/remove programs function to remove MS Office XP Pro from this machine. Everything went fine a
fibonnaci numbers -
Anyone who can help me to run a programm of fibonacci numbers in visual basic.net.
Input limit is 15
Numbers are 0 1 1 2 3 5 8 13
T he program must:
Allow the input limit
Display all the generated fibonacci numbers
The sum of all the fibonacci numbers
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
Decimal sign -
I have problems in entering the decimal sign on my numeric keyboard. Since I live in Belgium, the decimal sing here is a comma. But on my numeric keyboard the decimal sign is a dot.
When I wan't to type numbers into my VB-application, I cannot use the decimal sign on the numeric k
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?