Convert c# string to html string RRS feed

  • Question

  • I have  stored procedue that generates an email. The user needs the ability to view (no editing) the email prior to sending it. I can bring the email back to my app as a string with the html codes and I want to be able to display the string in a text box or a rich text box, but neither will format correctly. I have replaced the '[' with '," and ']' with '.'.  I was able to do this in vb6 by using a WebBrowser on a form.

    How do I convert the string (to html), so that it will display correctly? like it will when it's emailed. (show bold, colors......)

    Thanks in advance
    Dan Plocica


    Friday, October 12, 2012 3:20 PM


  • If a webbrowser on a form worked just fine for you before then why can't you do that again?  webbrowser isn't specific to VB, it's a .NET control.
    • Marked as answer by Dan1104 Friday, October 12, 2012 5:01 PM
    Friday, October 12, 2012 3:30 PM

All replies