Click here to Skip to main content
15,906,296 members
Home / Discussions / C#
   

C#

 
AnswerRe: SQLite Pin
MeLight20-Nov-09 3:35
MeLight20-Nov-09 3:35 
GeneralRe: SQLite Pin
jashimu20-Nov-09 4:44
jashimu20-Nov-09 4:44 
GeneralRe: SQLite Pin
Pete O'Hanlon20-Nov-09 5:04
mvePete O'Hanlon20-Nov-09 5:04 
GeneralRe: SQLite Pin
PIEBALDconsult20-Nov-09 8:04
mvePIEBALDconsult20-Nov-09 8:04 
GeneralRe: SQLite Pin
jashimu20-Nov-09 8:09
jashimu20-Nov-09 8:09 
AnswerRe: SQLite Pin
PIEBALDconsult20-Nov-09 3:35
mvePIEBALDconsult20-Nov-09 3:35 
AnswerRe: SQLite Pin
Md. Marufuzzaman20-Nov-09 4:34
professionalMd. Marufuzzaman20-Nov-09 4:34 
QuestionSimulating a key press problem Pin
MeLight20-Nov-09 3:17
MeLight20-Nov-09 3:17 
Hi,
I'm trying to generate a key press with C#, so that it can be picked up by another app. I tried to use the SendKeys class to achieve what I'm looking for

while (true)
{
    SendKeys.SendWait("{F1}");
    Thread.Sleep(500);
}


which works for most apps I tried (FireFox, VS2008 etc), but not the app I'm looking to control - Frets on Fire[^]. I was told that the problem might occur because FoF doesn't deal with windows messages, but instead, polls the input device (keyboard) directly.

Is there an option to simulate the behavior of an actual keyboard (write directly to the memory responsible for keyboard or something), or applying some other workaround?

Thank you!
AnswerRe: Simulating a key press problem Pin
Dave Kreskowiak20-Nov-09 6:59
mveDave Kreskowiak20-Nov-09 6:59 
GeneralRe: Simulating a key press problem Pin
MeLight20-Nov-09 7:43
MeLight20-Nov-09 7:43 
QuestionCOM GUID Pin
gioviro20-Nov-09 2:40
gioviro20-Nov-09 2:40 
QuestionNot able of saving in App.config Pin
FJJCENTU20-Nov-09 2:07
FJJCENTU20-Nov-09 2:07 
AnswerRe: Not able of saving in App.config Pin
Not Active20-Nov-09 2:26
mentorNot Active20-Nov-09 2:26 
Questionhow to connect to a remote system using ssh client Pin
himanshu110120-Nov-09 0:39
himanshu110120-Nov-09 0:39 
QuestionSolution items Pin
Priya Prk19-Nov-09 22:51
Priya Prk19-Nov-09 22:51 
AnswerRe: Solution items Pin
Calla20-Nov-09 0:17
Calla20-Nov-09 0:17 
AnswerRe: Solution items Pin
Ashfield20-Nov-09 1:20
Ashfield20-Nov-09 1:20 
QuestionCompact Framework - Problem with Process.Start Pin
dlarkin7719-Nov-09 22:02
dlarkin7719-Nov-09 22:02 
AnswerRe: Compact Framework - Problem with Process.Start Pin
freakyit19-Nov-09 22:43
freakyit19-Nov-09 22:43 
Questionhow are public variable define in c# Pin
pooran singh niranjan19-Nov-09 21:14
pooran singh niranjan19-Nov-09 21:14 
AnswerRe: how are public variable define in c# [modified] Pin
0x3c019-Nov-09 21:53
0x3c019-Nov-09 21:53 
GeneralRe: how are public variable define in c# Pin
David Skelly19-Nov-09 22:18
David Skelly19-Nov-09 22:18 
GeneralRe: how are public variable define in c# Pin
0x3c020-Nov-09 2:18
0x3c020-Nov-09 2:18 
AnswerRe: how are public variable define in c# Pin
Shameel19-Nov-09 22:53
professionalShameel19-Nov-09 22:53 
QuestionHow to catch event onclick when user click on a PowerPoint VBA button or click to start a video on slide (slide is showing). Pin
Dien Nguyen Manh19-Nov-09 20:00
Dien Nguyen Manh19-Nov-09 20:00 

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.