467,104 Members | 1,168 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

How do I format a string for the methis SendKeys method to emulate Ctrl-C?

I have read this page
http://msdn.microsoft.com/en-us/libr...ys(VS.71).aspx but try as I might I cannot figure out how to do it. I tried many combinations but none of them have succeded, as far as I know. I should have had some text now in the ClipBoard with SendKeys.Send("{^(C)}"); but if I don't get an axception due to System.ArgumentException was unhandled. Message="Keyword \"^C\" is not valid." then it is still empty. Am I doing it wrong or am I not sending the keys to the right window with the SendKeys.Send("{^(C)}");? Your help will be invaluable, cheers.

Thanks & Best Regards
Jan 5 '10 #1
  • viewed: 1318

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by lestersal | last post: by
reply views Thread by lestersal | last post: by
5 posts views Thread by Wayne Gibson | last post: by
2 posts views Thread by Gary | last post: by
4 posts views Thread by Dica | last post: by
reply views Thread by =?Utf-8?B?U2VuZEtleXMgU2VuZCBub3QgY2FwdHVyaW5nIGtl | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.