Results 1 to 3 of 3

Thread: WebBroswer control - COPY from it

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241
    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.

  2. #2
    Guest
    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]

  3. #3
    Guest
    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
  •  



Click Here to Expand Forum to Full Width