Solved

keyboard press simulation ?

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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