Solved

keyboard press simulation ?

Posted on 2006-11-19
1
340 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Gridview selected row 9 49
VB.Net - KeyPress Event 4 38
No Data for DropDown List 2 28
run a stored procedure from vb.net 1 27
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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