Solved

keyboard press simulation ?

Posted on 2006-11-19
1
336 Views
Last Modified: 2010-05-18
I want my program to simulate the keypress CTRL + C and CTRL + V .
0
Comment
Question by:waddhah
1 Comment
 
LVL 16

Accepted Solution

by:
Hillwaaa earned 250 total points
ID: 17977242
Hi waddhah,

How are you trying to use this?

If this for textboxes and the like? Most of the .Net controls support the "Select" and "Copy" and "Paste" functions which you can call instead of using Ctrl+C and Ctrl+V.

Alternatively, you can use the SendKeys functionality,

SendKeys.Send("^C") for Ctrl+C

Cheers!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now