Solved

View TextBox.Text in WebBrowser on form

Posted on 2009-05-19
3
198 Views
Last Modified: 2012-05-07
I have a form with WebBrowser1 on it along with TextBox1 that is bound to data that is stored in html format on the server.  The textbox gets filled on open and the data does come in as an html string with tags and such.  I have the textbox set to multiline as well.  How can I tell the WebBrowser1 to display the contents of textbox1.text??
0
Comment
Question by:H-SC
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
CyberLex earned 500 total points
ID: 24425947
WebBrowser1.DocumentText = TextBox1.Text

cheers
Lex
0
 
LVL 1

Author Comment

by:H-SC
ID: 24434108
Thanks Lex
It works great!!
0
 
LVL 9

Expert Comment

by:CyberLex
ID: 24436318
:=)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now