Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6722151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:24:48+00:00 2026-05-26T09:24:48+00:00

I really can’t solve this problem and don’t even know, if it is possible.

  • 0

I really can’t solve this problem and don’t even know, if it is possible.

I want to use CTRL+C and CTRL+V shortcuts.

Example: There is 2 Application. 1. App is written in C#, 2. App is an Java-Applet.
I want to Copy string from C# App. and paste it into focused Textbox in Java-Applet.

I ll copy the string in to Clipboard and I need to Paste it into the focused Textbox in Java-Applet.

string data = "12345";
Clipboard.SetData(DataFormats.Text, (Object)data);

Now I need to paste this information into the Textbox in Applet.

How can I Call CTRL+V shortcuts in C#?

Is it possible to do something like that?

Thank You!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:24:49+00:00Added an answer on May 26, 2026 at 9:24 am

    Another option would be to use InputSimulator which is a very flexible (and reliable) wrapper that is capable of simulating keyboard and mouse events.

    It wraps SendInput under the hood but abstracts away all the PInvoke calls and other complexity. It’s a drop in DLL that (for your situation) should only take a couple lines of code.

    InputSimulator.SimulateKeyDown(VirtualKeyCode.CTRL);
    InputSimulator.SimulateKeyPress(VirtualKeyCode.KEYS_V);
    InputSimulator.SimulateKeyUp(VirtualKeyCode.CTRL);
    

    or

    InputSimulator.SimulateModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_C); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for the vague title, as I really can't explain this problem succinctly. Basically
Well, I don't know if I'm completely wrong, but I really can't find a
I really can't find this out. I tried to use itertools, tried all kind
I really can not understand this problem. When i publish my asp.net 4.0 website
I know this subject was discussed here, but I really can't get this to
I really can't work out how to best do this, I can do fairly
I can't really think of the best way to phrase this question, so I'll
I can't really ever think of a time when I would use git merge
I really can't find a nice enum JDBC mapping example. Is enum actually supported
I know it's a simple question but I really can't find anything on Google.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.