Click here to Skip to main content
16,004,974 members
Home / Discussions / C#
   

C#

 
AnswerRe: multi-tab Browser Pin
Christian Graus13-Jan-07 19:01
protectorChristian Graus13-Jan-07 19:01 
QuestionPaste clipboard value to remote application. Pin
sampath Jayasinghe13-Jan-07 15:02
sampath Jayasinghe13-Jan-07 15:02 
AnswerRe: Paste clipboard value to remote application. Pin
Luc Pattyn13-Jan-07 19:13
sitebuilderLuc Pattyn13-Jan-07 19:13 
QuestionRe: Paste clipboard value to remote application. Pin
sampath Jayasinghe14-Jan-07 12:57
sampath Jayasinghe14-Jan-07 12:57 
AnswerRe: Paste clipboard value to remote application. Pin
Luc Pattyn14-Jan-07 13:22
sitebuilderLuc Pattyn14-Jan-07 13:22 
AnswerRe: Paste clipboard value to remote application. [modified] Pin
Luc Pattyn14-Jan-07 13:25
sitebuilderLuc Pattyn14-Jan-07 13:25 
AnswerRe: Paste clipboard value to remote application. Pin
Luc Pattyn14-Jan-07 13:42
sitebuilderLuc Pattyn14-Jan-07 13:42 
GeneralRe: Paste clipboard value to remote application. Pin
sampath Jayasinghe14-Jan-07 17:10
sampath Jayasinghe14-Jan-07 17:10 
Hi Luc,

Answers:
1) Full error message as follows,
"An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll

Additional information: SendKeys cannot run inside this application because the application is not handling Windows messages. Either change the application to handle messages, or use the SendKeys.SendWait method."
Error reported by the following line of my code
board.SendKeys("1234");
Yes, I searched it...but not much use.
I used the SendKeys.SendWait and it didn't work too.

2). I first used System.Windows.Forms.SendKeys. It doesn't paste the value. No errors. But nothing happens.

3).
Textbox is focused before use the Automatic keystroke simulation. I commented the SendKeys function and at that point I manually pressed Ctrl+V. It worked.

Hope I explianed it clearly.

Thanks a lot.

Sampathg
GeneralRe: Paste clipboard value to remote application. Pin
Luc Pattyn14-Jan-07 17:57
sitebuilderLuc Pattyn14-Jan-07 17:57 
GeneralRe: Paste clipboard value to remote application. Pin
sampath Jayasinghe15-Jan-07 16:41
sampath Jayasinghe15-Jan-07 16:41 
QuestionAutocomplete -> BindingSource -> Position change Pin
Glen Harvy13-Jan-07 14:09
Glen Harvy13-Jan-07 14:09 
QuestionSetting a default value for a datagridviewtextbox column Pin
bluewavestrider13-Jan-07 12:07
bluewavestrider13-Jan-07 12:07 
AnswerRe: Setting a default value for a datagridviewtextbox column Pin
Lisa Jorgensen13-Jan-07 15:14
Lisa Jorgensen13-Jan-07 15:14 
GeneralRe: Setting a default value for a datagridviewtextbox column Pin
bluewavestrider14-Jan-07 4:45
bluewavestrider14-Jan-07 4:45 
Questionhow to read status registers of parallel port Pin
George-Lucian13-Jan-07 11:44
George-Lucian13-Jan-07 11:44 
AnswerRe: how to read status registers of parallel port Pin
Phillip M. Hoff13-Jan-07 11:59
Phillip M. Hoff13-Jan-07 11:59 
QuestionA multithreading "best practice" question! Pin
Nader Elshehabi13-Jan-07 10:58
Nader Elshehabi13-Jan-07 10:58 
AnswerRe: A multithreading "best practice" question! Pin
Phillip M. Hoff13-Jan-07 11:38
Phillip M. Hoff13-Jan-07 11:38 
GeneralRe: A multithreading "best practice" question! Pin
Nader Elshehabi13-Jan-07 12:28
Nader Elshehabi13-Jan-07 12:28 
GeneralRe: A multithreading "best practice" question! Pin
Phillip M. Hoff13-Jan-07 14:25
Phillip M. Hoff13-Jan-07 14:25 
GeneralRe: A multithreading "best practice" question! Pin
Nader Elshehabi14-Jan-07 9:02
Nader Elshehabi14-Jan-07 9:02 
QuestionXNA requirement or Direct x 9 works fine with C#...or OpenGL Pin
Software_Specialist13-Jan-07 10:48
Software_Specialist13-Jan-07 10:48 
AnswerRe: XNA requirement or Direct x 9 works fine with C#...or OpenGL Pin
Nader Elshehabi13-Jan-07 11:12
Nader Elshehabi13-Jan-07 11:12 
GeneralRe: XNA requirement or Direct x 9 works fine with C#...or OpenGL Pin
Software_Specialist13-Jan-07 11:31
Software_Specialist13-Jan-07 11:31 
GeneralRe: XNA requirement or Direct x 9 works fine with C#...or OpenGL Pin
Nader Elshehabi13-Jan-07 12:05
Nader Elshehabi13-Jan-07 12:05 

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.