2008
03.07

The following code will work with the following requirements:

  1. You are using .NET Framework 2.0
  2. You already have WebBrowser control added into your Windows Form
public void DisplayHTML(String strHTML)
{
    if (strHTML != "")
    {
         if (this.webBrowser2.Document != null)
         {
               HtmlDocument doc = this.webBrowser2.Document.OpenNew(true);
               doc.Write(strHTML);
         }
         else
         {
               this.webBrowser2.DocumentText = strHTML;
         }
     }
}

 

Possibly Related Posts

 

Incoming Search Term

350-018 reflects progress in how company customers generate highly secure business-ready networks. 70-297 involves designing a Windows Server 2003 active directory and network infrastructure. The 640-816 interconnecting Cisco networking devices is the test linked with the Cisco certified network associate certification. CheckPoint Security Administration NGX, also identified as 156-215 test, is a significant certification of CheckPoint.

1 comment so far

Add Your Comment
  1. halo2, off topic, nitip notifikasi, link blog ku berubah, sekarang di
    http://www.andiewicaksono.com
    tengkiyuuuu :D

* Copy this password:

* Type or paste password here: