I have a specific application (someprogram.exe) i wish to use the sendkeys command to perform CTRL + C from the applicat开发者_开发问答ion i'm bulding in vb.net. I don't need to bring the data into my app, just copy it to the windows clipboard.
Thanks in advance!
i would Recommand to send the message GETTEXT to handle of that control (use FindWindow api maybe to get the handle) and then set it yourself to the clipboard, to avoid copying wrong data or only the selected part of it.
精彩评论