I switch from vb6 to vb.net..
and it's not that easy to familiarize .net syntax :)

here's what i want..

1 webbrowser1
1 button1 ( multiline )
1 textbox1

how can i view the webbrowser1 source code in the textbox1 by click the button?

--------------

this can be done in vb6 by saving the html file to text then opening the text..

but i cant do it in vb.net.. help me :)

Recommended Answers

All 2 Replies

DocumentText Property.

TextBox1.Text = WebBrowser1.DocumentText
commented: so fast :) +1

thanks.. that's fast :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.