By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

How to copy from another process?

P: n/a
Hi everyone

I know only some about .net and C# but nothing about Windows API and Shells
and etc. So if this is not possible please tell me.

I want to copy a text from another process (from IE for instance). Instead
of letting user press Ctrl+C, I want my program to do it as an agent (The
fundanmental solution to tablet pc apps. When the user use guesture on my
app, it will do the copying.) Is there anyway that I can invoke the API to
get the currently highlighted text? Also, when I want to paste something
into current textbox, is there a way that I can have API do the pasting for
me?

I have thought of an alternative. Maybe I can let my app fire keyboard
command Ctrl+C and Ctrl+P to the processes, but I haven't figure out how to
do that yet. Can anyone give me a hint?

Thank you!
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.