browse by category or date

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);
      this.webBrowser2.DocumentText = strHTML;
GD Star Rating

Possibly relevant:

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

1 comment so far

Add Your Comment
  1. halo2, off topic, nitip notifikasi, link blog ku berubah, sekarang di
    tengkiyuuuu 😀