Can Some One please help me with my problem...
I am trying to get a VB WebBrowser to load an HTML Code From A RichTextBox, how would i do this...
Printable View
Can Some One please help me with my problem...
I am trying to get a VB WebBrowser to load an HTML Code From A RichTextBox, how would i do this...
If you want to load literal code, rather than a file, into a WebBrowser then you set its DocumentText property. To get the text from a RichTextBox you get its Text property. Put the two together and you have your solution.
So you get something like this ?
If that is corect, where is my error am i makeing in that code?vb Code:
WebBrowser1.Url = (RichTextBox1.Text)
Go back and read my post again and compare what I said to your code.
Sorry for that I understand now.
Thanks alot!!!