Results 1 to 2 of 2

Thread: Copy selected html in a webbrowser control

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    9

    Copy selected html in a webbrowser control

    Hi, I'm in doubt of how this can be implemented:

    I need to put a webbrowser in a form and with one button copy the selected HTML code to a variable.

    I really have no idea of how to do it, so any help is wellcome

    Thanks,
    Angel

  2. #2
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    Re: Copy selected html in a webbrowser control

    Quote Originally Posted by Angel@dot-q
    Hi, I'm in doubt of how this can be implemented:

    I need to put a webbrowser in a form and with one button copy the selected HTML code to a variable.

    I really have no idea of how to do it, so any help is wellcome

    Thanks,
    Angel
    Just like your other post, i do not think webbrowser will give you the html code.

    However (again) you could use webclient to do it.

    just use webclient on the webbrowser.locationURL variable and then that'll be your HTML data, it means the page is sent over the internet twice, but unfortunetly "i think" it's the only way to do it.

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