Click here to Skip to main content
15,913,722 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Strange Characters Appended to every url as #cCccCc Pin
Luc Pattyn4-Jun-10 15:07
sitebuilderLuc Pattyn4-Jun-10 15:07 
GeneralRe: Strange Characters Appended to every url as #cCccCc Pin
Shawn Souto4-Jun-10 15:08
Shawn Souto4-Jun-10 15:08 
AnswerRe: Strange Characters Appended to every url as #cCccCc Pin
Shawn Souto4-Jun-10 15:07
Shawn Souto4-Jun-10 15:07 
QuestionRead external configuration file at runtime Pin
rbc10254-Jun-10 7:10
rbc10254-Jun-10 7:10 
AnswerRe: Read external configuration file at runtime Pin
Not Active4-Jun-10 7:56
mentorNot Active4-Jun-10 7:56 
GeneralRe: Read external configuration file at runtime Pin
rbc10254-Jun-10 19:08
rbc10254-Jun-10 19:08 
GeneralRe: Read external configuration file at runtime Pin
Not Active5-Jun-10 2:47
mentorNot Active5-Jun-10 2:47 
QuestionError:Passing parameter to Sp Pin
Sabui4-Jun-10 1:23
Sabui4-Jun-10 1:23 
AnswerRe: Error:Passing parameter to Sp Pin
Not Active4-Jun-10 1:51
mentorNot Active4-Jun-10 1:51 
GeneralRe: Error:Passing parameter to Sp Pin
Sabui4-Jun-10 20:09
Sabui4-Jun-10 20:09 
GeneralRe: Error:Passing parameter to Sp Pin
Not Active5-Jun-10 2:43
mentorNot Active5-Jun-10 2:43 
AnswerRe: Error:Passing parameter to Sp Pin
Peace ON4-Jun-10 2:33
Peace ON4-Jun-10 2:33 
QuestionHow the machine know if the .net code is re-compile by the JIT compiler ? Pin
Yanshof4-Jun-10 0:33
Yanshof4-Jun-10 0:33 
AnswerRe: How the machine know if the .net code is re-compile by the JIT compiler ? Pin
_Erik_4-Jun-10 0:46
_Erik_4-Jun-10 0:46 
AnswerRe: How the machine know if the .net code is re-compile by the JIT compiler ? Pin
Luc Pattyn4-Jun-10 0:51
sitebuilderLuc Pattyn4-Jun-10 0:51 
AnswerRe: How the machine know if the .net code is re-compile by the JIT compiler ? Pin
Henry Minute4-Jun-10 0:55
Henry Minute4-Jun-10 0:55 
AnswerRe: How the machine know if the .net code is re-compile by the JIT compiler ? Pin
dan!sh 4-Jun-10 3:06
professional dan!sh 4-Jun-10 3:06 
Question.net remoting OR web services OR WCF Service Pin
divyesh14323-Jun-10 19:27
divyesh14323-Jun-10 19:27 
AnswerRe: .net remoting OR web services OR WCF Service Pin
dan!sh 3-Jun-10 21:29
professional dan!sh 3-Jun-10 21:29 
AnswerRe: .net remoting OR web services OR WCF Service Pin
Peace ON3-Jun-10 21:42
Peace ON3-Jun-10 21:42 
AnswerRe: .net remoting OR web services OR WCF Service Pin
Abhinav S3-Jun-10 21:45
Abhinav S3-Jun-10 21:45 
GeneralRe: .net remoting OR web services OR WCF Service Pin
dan!sh 3-Jun-10 21:51
professional dan!sh 3-Jun-10 21:51 
QuestionsqlDependency cache- notification model Pin
senthu33-Jun-10 11:55
senthu33-Jun-10 11:55 
QuestionSending a keystroke to all applications Pin
Kevin Geary2-Jun-10 6:55
Kevin Geary2-Jun-10 6:55 
I have a piece of hardware with some buttons which when pressed will send an events via a USB interface to an application I have written(let's call it APP1).

I have a 2nd application (let's call it APP2) that reacts to certain keystrokes (for example when it sees a Key Press event for SPACE BAR it will pop-up a dialog). I have no control over the code in this application.

I need to make it so when APP1 sees a button is pressed on the hardware it will send a keystroke to APP2 (or to all windows).

Some constraints:
- I cannot change the hardware to simply send the SPACE BAR, I only have control over APP1.
- There may exist another version of APP2 that will react to a different button such as ENTER key (or any key sequence for that matter) so I would like to have APP1 be configurable in the event it sends to other windows/applications and is in no way dependent on the name of APP2 as I may see many versions of APP2.

What is the best way to handle this? Sendkeys?
What information do I need to know about APP2 from within APP1 to send the keystroke to this window specifically? I'm OK with (and would prefer) sending this event to all Windows if that is possible so if APP2 changes in the future APP1 is not impacted.

I'm fairly new to Windows Programming so all help and insight is appreciated.

Thanks in advance.

KG
AnswerRe: Sending a keystroke to all applications Pin
Luc Pattyn2-Jun-10 7:24
sitebuilderLuc Pattyn2-Jun-10 7:24 

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.