Programmaticaly copy text from a text box to a Windows Web Form Control
Posted on 2007-10-08
I have a VB.Net 2005 Windows form application that takes text input into a text box control, performs some processing and adds some basic html encoding, and displays the results in a second text box control.
I also have a web browser control on the form, wich I want to use as an option to display the results from the second text box, but in an html view.
I want to establish a template for the browser control to include the head and body tags (standard stuff), and then paste the html coded text from the second text box into the template at the appropriate place (form tag?); once that has happend, display the text in the browser control for the end user.
Any ideas about how one may set this up?