Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
QuestionProblem with Send Keys to background process Pin
Member 372749928-Jul-10 3:54
Member 372749928-Jul-10 3:54 
AnswerRe: Problem with Send Keys to background process Pin
freakyit28-Jul-10 4:17
freakyit28-Jul-10 4:17 
GeneralRe: Problem with Send Keys to background process Pin
Member 372749928-Jul-10 7:21
Member 372749928-Jul-10 7:21 
GeneralRe: Problem with Send Keys to background process Pin
Covean28-Jul-10 22:25
Covean28-Jul-10 22:25 
GeneralRe: Problem with Send Keys to background process Pin
Member 372749929-Jul-10 2:21
Member 372749929-Jul-10 2:21 
GeneralRe: Problem with Send Keys to background process Pin
Covean29-Jul-10 2:52
Covean29-Jul-10 2:52 
General[SOLVED] Re: Problem with Send Keys to background process Pin
Member 372749929-Jul-10 3:33
Member 372749929-Jul-10 3:33 
AnswerRe: Problem with Send Keys to background process Pin
Covean28-Jul-10 4:19
Covean28-Jul-10 4:19 
I think the problem is, that you send an ALT key but not left or right ALT, what is a big difference for the OS.
VK_ALT is only used in user application the simplify some things.



1. send VK_LEFTALT = 0xA4 or VK_RIGHTALT = 0xA5



or



2. use SendKeys.Send



or



3. Have a look at (low-level) windows key hooking (SetWindowsHookEx). This helps the understand how key strokes are queued in the windows messaging system.
Greetings
Covean

QuestionShould not end my Application processes via Task Manager Pin
Krishna Varadharajan28-Jul-10 3:04
Krishna Varadharajan28-Jul-10 3:04 
AnswerRe: Should not end my Application processes via Task Manager Pin
PIEBALDconsult28-Jul-10 3:19
mvePIEBALDconsult28-Jul-10 3:19 
AnswerRe: Should not end my Application processes via Task Manager Pin
Roger Wright28-Jul-10 3:20
professionalRoger Wright28-Jul-10 3:20 
AnswerRe: Should not end my Application processes via Task Manager Pin
Dave Kreskowiak28-Jul-10 3:31
mveDave Kreskowiak28-Jul-10 3:31 
AnswerRe: Should not end my Application processes via Task Manager Pin
harold aptroot28-Jul-10 3:48
harold aptroot28-Jul-10 3:48 
AnswerRe: Should not end my Application processes via Task Manager Pin
Alan Balkany28-Jul-10 3:51
Alan Balkany28-Jul-10 3:51 
AnswerRe: Should not end my Application processes via Task Manager Pin
Yusuf28-Jul-10 4:13
Yusuf28-Jul-10 4:13 
AnswerRe: Should not end my Application processes via Task Manager Pin
freakyit28-Jul-10 4:21
freakyit28-Jul-10 4:21 
AnswerRe: Should not end my Application processes via Task Manager Pin
Sauro Viti28-Jul-10 5:18
professionalSauro Viti28-Jul-10 5:18 
AnswerRe: Should not end my Application processes via Task Manager Pin
Ravi Bhavnani28-Jul-10 11:39
professionalRavi Bhavnani28-Jul-10 11:39 
QuestionMessage Removed Pin
28-Jul-10 1:57
willworknow128-Jul-10 1:57 
AnswerRe: Formatting a RichTextBox with indents/columns (or any other control) Pin
Luc Pattyn28-Jul-10 2:30
sitebuilderLuc Pattyn28-Jul-10 2:30 
QuestionDateTime.Now.ToLongDateString() Pin
Member 387988128-Jul-10 1:07
Member 387988128-Jul-10 1:07 
AnswerRe: DateTime.Now.ToLongDateString() Pin
OriginalGriff28-Jul-10 1:24
mveOriginalGriff28-Jul-10 1:24 
GeneralRe: DateTime.Now.ToLongDateString() Pin
Member 387988128-Jul-10 1:46
Member 387988128-Jul-10 1:46 
GeneralRe: DateTime.Now.ToLongDateString() Pin
OriginalGriff28-Jul-10 1:53
mveOriginalGriff28-Jul-10 1:53 
GeneralRe: DateTime.Now.ToLongDateString() Pin
Member 387988128-Jul-10 1:58
Member 387988128-Jul-10 1:58 

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.