codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  controlling an app in foreground from one running in background  lz300 at 23:59 on Friday, October 05, 2007
 

I have built an arcade cabinet from which I will play Mame, Daphne (Dragon's Lair) and pc games (like Warcraft, Quake, RTCW, etc). I bought a joystick control (X-arcade Tankstick) which does not have an Escape button. I'm using VB6 to build the GUI that will drive the whole thing, and have successfully written code to emulate the Esc key by pressing 2 buttons simultaneously.

The problem I have is that once a game is launched, the GUI is sent to the background, and no longer recognizes any input from the buttons being pressed. I need to emulate the Esc key to exit out of games like Warcraft and RTCW.

Anyone have any ideas?









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• Re: Text wrapping on C# webforms buttons
• Re: Replacing patterns a^b with pow(a,b)
• Re: Problem - Object doesn`t support this property or method
• great sight
• Re: JavaScript: Not working in Firefox 3.x
• Re: Difference between two dates including From & To date
• Re: How to highlight text WITHIN a JTable cell?
• Re: Javascript: return not in function?
• Re: How to concatenate a string and a variable using perl?


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010