|
-
Jul 13th, 2000, 09:56 AM
#1
Thread Starter
Addicted Member
I have a webbrower control with a web page successfully loaded. I make the mouse move on the web page and select 2-3 lines of text with my mouse.
I would like the equivalent in code of if I'd press CTRL-C to put this label's text in the clipboard.
Thanks.
-
Jul 13th, 2000, 10:45 AM
#2
Use am Inet control instead, open the page, and then lift the text you want out of the resulting text stream.
If you're trying to do a demonstration or something, then you may as well go through the trouble of sending a right-click and picking copy from the context menu
john
[Edited by RoyceWindsor1 on 07-13-2000 at 11:48 AM]
-
Jul 13th, 2000, 10:49 AM
#3
This is the code for copying the selected text using the webbrowser control.
Code:
webbrowser1.ExecWB OLECMDID_COPY, OLECMDEXECOPT_DONTPROMPTUSER
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|