Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
QuestionClick Once Deployment Pin
Abdul Rahman Hamidy5-Sep-09 18:15
Abdul Rahman Hamidy5-Sep-09 18:15 
AnswerRe: Click Once Deployment Pin
MarkB7775-Sep-09 18:40
MarkB7775-Sep-09 18:40 
QuestionDouble class problem Pin
Malbinir5-Sep-09 15:39
Malbinir5-Sep-09 15:39 
AnswerRe: Double class problem Pin
Luc Pattyn5-Sep-09 16:04
sitebuilderLuc Pattyn5-Sep-09 16:04 
GeneralRe: Double class problem Pin
Malbinir5-Sep-09 21:35
Malbinir5-Sep-09 21:35 
GeneralRe: Double class problem Pin
Luc Pattyn6-Sep-09 0:48
sitebuilderLuc Pattyn6-Sep-09 0:48 
AnswerRe: Double class problem Pin
Joe Woodbury5-Sep-09 16:26
professionalJoe Woodbury5-Sep-09 16:26 
QuestionListening/Sending keys Pin
See_Sharp5-Sep-09 13:22
See_Sharp5-Sep-09 13:22 
Hey guys,

I was wondering if there was a way to listen for specific keys from another application.

Before anyone jumps to conclusions (that's usually the case with these types of questions, lol), I'm playing a game and I would like to re-map some controls.

For example, whenever I press keystroke 'A', I want the application to process the keystroke, and send keystroke 'B'. It doesn't matter if the game actually receives 'A' AND 'B' (the original 'A' from the keyboard input).

I'm comfortable with reading the keys and using windows API to send keys too, but my problem is that the form actually needs to be active, but that wouldn't be the case when I'm playing the game.

So... I guess the question comes down to... Is it possible to have a Windows Forms Application to perform tasks in the background while another application is active?

This would be a work-around of creating a windows service JUST FOR THIS Frown | :( which I really would want to avoid since I just want something really simple done... lol

If anyone has some clues/info, I'd really appreciate it.

Thanks!
AnswerRe: Listening/Sending keys Pin
Henry Minute5-Sep-09 14:05
Henry Minute5-Sep-09 14:05 
GeneralRe: Listening/Sending keys Pin
See_Sharp5-Sep-09 18:45
See_Sharp5-Sep-09 18:45 
GeneralRe: Listening/Sending keys Pin
DaveyM695-Sep-09 23:37
professionalDaveyM695-Sep-09 23:37 
QuestionProblem to configuring reporting services Pin
hdv2125-Sep-09 12:49
hdv2125-Sep-09 12:49 
AnswerRe: Problem to configuring reporting services Pin
Henry Minute5-Sep-09 14:09
Henry Minute5-Sep-09 14:09 
QuestionHow to access a control on a Form from other Forms without creating an instance of it? Pin
CoderForEver5-Sep-09 9:08
CoderForEver5-Sep-09 9:08 
AnswerRe: How to access a control on a Form from other Forms without creating an instance of it? Pin
DaveyM695-Sep-09 10:14
professionalDaveyM695-Sep-09 10:14 
GeneralRe: How to access a control on a Form from other Forms without creating an instance of it? Pin
CoderForEver5-Sep-09 20:44
CoderForEver5-Sep-09 20:44 
GeneralRe: How to access a control on a Form from other Forms without creating an instance of it? Pin
DaveyM695-Sep-09 23:24
professionalDaveyM695-Sep-09 23:24 
AnswerRe: How to access a control on a Form from other Forms without creating an instance of it? Pin
Christian Graus5-Sep-09 10:43
protectorChristian Graus5-Sep-09 10:43 
GeneralRe: How to access a control on a Form from other Forms without creating an instance of it? Pin
CoderForEver5-Sep-09 20:33
CoderForEver5-Sep-09 20:33 
AnswerRe: How to access a control on a Form from other Forms without creating an instance of it? Pin
Luc Pattyn5-Sep-09 11:05
sitebuilderLuc Pattyn5-Sep-09 11:05 
QuestionProblem sending an emai [modified] Pin
Jassim Rahma5-Sep-09 8:30
Jassim Rahma5-Sep-09 8:30 
AnswerRe: Problem sending an emai Pin
CoderForEver5-Sep-09 8:52
CoderForEver5-Sep-09 8:52 
GeneralRe: Problem sending an emai Pin
Jassim Rahma5-Sep-09 8:58
Jassim Rahma5-Sep-09 8:58 
GeneralRe: Problem sending an emai Pin
CoderForEver5-Sep-09 9:21
CoderForEver5-Sep-09 9:21 
GeneralRe: Problem sending an emai PinPopular
Richard MacCutchan5-Sep-09 11:02
mveRichard MacCutchan5-Sep-09 11:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.