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

[2005] Raising keyboard events in old games -

What I am trying to do is use a USB GamePad to control old games like MAME and Tomb Raider (that didn't support pads and joysticks) using DirectInput (DirectX 9).

I can run my app and open the Command Prompt and use the GamePad buttons in place of the keyboard but it's not working for the games.

 

[2005] Raising keyboard events in old games -
What I am trying to do is use a USB GamePad to control old games like MAME and Tomb Raider (that didn't support pads and joysticks) using DirectInput (DirectX 9). I can run my app and open the Command Prompt and use the GamePad buttons in place of the keyboard but it's not working f


Raising events in stored procedures -
Hi friend, I have a doubt. Could you clear my doubt? Actually what is raising events available in stored procedure? If it is yes, how can we implement and test? Is any useful link or tutorial available for raising events in sp? Hope yours reply. Thanks & Re


Tutorial for raising events -
Are there any good step-by-step tutorials for raising events from Visual C++ dll or ocx and having vb receive it. Cheers Rob


Raising Events{RESOLVED} -
Does anyone know how you could have two forms; on the first form have a button and in that buttons click event......raise Form2's paint Event so that something is drawn on form2 when that button is clicked. I have looked into Raising Events, but I dont really understand it so it wou


Raising Events from ActiveX Control -
My first guess would be that IE isn't set to acknowledge any extra events you create. It only knows how to respond to the 'standard' events...


How to disable these events in msflexgrid control -
with msflexgrid1 .row=.row+1 .col=.fixedcols end with the codes will raise entercell, leavecell events twice how to prevent raising one of the events ? thanks


[2005] Hook Keyboard for one Application -
What im trying to do is hook the keyboard in order to determine what keys are being pressed, and then raising the specified function with the keypress. However, currently im using a low level keyboard hook. This hooks the system globally, every application. What i want to do is jus


Handlling large no. of events in VB.NET -
Hi, Actully I have a 3rd party components, to which I can subscribe for data and It publishes data when avail. by raising an event. Now when I subscribe for lots of data, it updates me the same by raising lots and lots of events. Kindly suggest how to handle the same ... in


Datagrid Keyboard Events -
Took me a while to figure out how to lay out a grid. A lot different than the Datagrid control in VB6, but has some nice features. However, the keyboard events for the datagrid don't appear to be firing. I put breakpoints in both the Keydown and Keypress events, and the event procedure


[02/03] Handling Keyboard events -
In vb.net i can handle keyboard events by handling mybase.keydown This works if the user presses one button on the keyboard. How can i handle many buttons at a time like CTRL-ALT-X?? Thanks


Raising events -
I have this problem and don't know how to fix it. I've made an UserControl which has events. If I run a program using this usercontrol through VB, the events doesn't raised in the program (the cointaner of the usercontrol). However, if I run the program's EXE (or I add the usercontrol'


[2005] How to create an Event Base program -
Hello, i am trying to create a game making program like GameMaker from yoyogames. GameMaker if you do not know allows you to create games with no code (not good games but still games). You can create a object add a sprite to the object and then add events/actions. To duplicat


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,


[2005] keyboard events -
Hello, i am not a begginer programmer but i never have the need to use keyboard events and when i learned a bit after i forgot how. I want to make a if statement that does this: When the user click left arrow key move picture box to the left. I basicly only need the code for the if lef


Need a Virtual Keyboard, how difficult is this -
I’m working on a KIOSK (Touch Screen) application and need a virtual keyboard for the user to enter their own comments in response to some events. What would be the easiest way to do this? Is there any .net components available, do I need to code all the Keyboard keypress events?


Events and Methods -
Hi I know what an event is and what a method is (duh!) but something just came into my mind - one of those stupid questions. I know that Events are pretty useful when raising an event from a thread that did not create the event or does not contain certain controls (UI controls fo


Trap all keyboard events in application -
How do I trap all events of a key being pressed in my form, no matter which control has the focus? I have tried KeyUp, KeyPress etc. with KeyPreview on and off but the events never seem to fire. I have several PictureBox and several WebBrowser controls on the form, dunno if that affect


How to use Hotkeys for Keyboard events inside usercontrol in vb6.0 -
Hai All, I'm using usercontrols(OCX),created using VB6.0 in .net(vb.net) I have specified the hotkeys in .net program for the ocx's to prompt when i click any keyboard keys..But it is not working (only for the controls created using vb6.0...) So, Can anyone of u plz tell


Raising an event from code -
I need to raise the mousemove event of a button from code. ie, without actually moving the mouse. Please tell me how to do this. I also need a general idea of raising other base class events.


[2005] Help need in creating custom control -
Hi, I wish to create custom control. I need to add events for the control that I am creating. But I don't know how to do. So please provide links for creating events and raising it. thanks


raising events from a collection of class's -
I have a collection of class's. I am raising an event in these class's but am finding it difficult to see how i get this event into my collection and into the calling program. The collection is a class itself with the usual, Add, Remove, Item. Any help or suggestions greatly appreacit


[2005] DoEvents -
So I have a problem with doevents()...I have manage to have a problem with that so, this is a very interesting puzzle. Games...most games are essentially loops, constantly updating information to the user. Online games rely on sockets to update this information. Now my socket is a c


[02/03] VB 6 to VB.net keyboard events -
Hi, I have problem with keyboard events not trapped or consumed in .net dll if the parent or source of calling that dll is Vb6. Here's detailed explanation. I have a vb6 application and .net dll imageviewer. This imageviewer farpoint spread and few labels and buttons on it. The ima


textbox events in vb6.00 -
Hi All, Advance thanks for your help.... about my project is i just receive the barcode from sacnner(using ps2 cable) and displayed in the textbox..i can display.. i can receive adnd dispaly no problem... BUT afterthat once i display i need to check the barcode whthr exsing o


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


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


Accessing the keyboard map -
My app uses RawInput to get the key pressed on a keyboard. This gives an integer which is the ASCII code for some keytops (A-Z, 0-9 etc) but not for the language/keyboard layout specific ones (# [) for example. The meaning of these codes depends on the keyboard in use. I need to pa


[2005] IDE keyboard newbie question -
the following keys on my keyboard dont seem to respond in VS 2005: enter delete f1- f12 tab backspace how do I make the keyboard act "normal"?


catching keyboard-events from a task running in the background -
hi folks. i´m trying to write a snapshot-program that automatically saves snapshots -e.g. from my wintv-application- to a specified dir when a certain key is pressed. everything is working fine so far but the problem is that my prog is running in the background (of course) when i sta


Raising events in various places -
I almost understand the ways of raising events/delegates. All cool stuff. (using .NET 2.0 here) Now, since my application will not always have a tcp listener available (user can choose this option), it means that the communication classes wont be instantiated until the user selects


Polling the Keyboard -
Hi I need to find out whether the shift key is pressed. I cannot use events for this, I need to poll the keyboard. Unfortunately I don't know how. Any tips? Thx in advance


capturing keyboard events -
I have a program that sits invisible on the screen that i want to hold all the keys a user has hit on there keyboard. Anyone know how this can be done?


Raising events to VB6 Control Extender -
I am trying to raise an event from a .NET usercontrol to a VB6 container. The .NET control is late bound in VB6 (controls.add) and is cast as a ControlExtender with events. I am expecting the _ObjectEvent to fire on the VB6 side, with no success. Early binding/interfaces/direct ca


Key Events -
For some reason the keyboard events in the code enclosed are not firing ... Any ideas ? Thanks, Jamie.


Road map Chart VB6 -
Please have a look at it I am using VB6 front end,access back end with fields in a table are {RoadKilometer_number,Gradient-(Raising/falling), Curvature_indegrees,Gradient-(for eg :-1/100 raising or falling that is per 100 meter 1 meter falling or raising)} .........................


keyboard events -
Can someone tell me what is the difference between the key_down and key_press events


Can I attach an external keyboard to a laptop computer -
Can I attach an external keyboard to a laptop computer? I know it may sound unusual but I want to do it because I am afraid of damaging original keyboard if I play too much games with it. Thanks for any suggestions.


WindowsXP On-Screen Keyboard -
Has anyone here being able to incorporate WindowsXP On-Screen Keyboard into a Visual Basic 2005 application? This is for a touch screen application and I would really love to use this keyboard instead of building one from scratch. This Keyboard is found under Start / All Programs


[2005] Clipboard and keyboard Function.... -
Can anyone tell me how to send text1.text to clipborad? And please tell me how to use keyboard buttons in VB 2005? Means that i want a command or code which automatically press tab button or any keyboard button... Is it possible?


Raising and handling events -
How do I raise and handle events? Also, if the event is raised in "ThreadA" will the handler code be run by "ThreadA" or will it be handled by another thread? - e.g. "ThreadB".. Any help would be great. Cheers!