Hello!

I just started with .net. I made a new C++-CLR-Windows-Forms-Applicationin VS 2005, which has one simple form by default. I added a WebBrowser-Control to it.

Now I just want to set the html-code inside the WebBrowser-Control. I found the DocumentText-Property and set it:

Code:
		Form1(void)
		{
			InitializeComponent();
			//
			this->webBrowser1->DocumentText = L"<html><body>It works!</body></html>";
			//
		}
Ok, the program runs, but it shows nothing inside webBrowser1. I had a look at the sourcecode via the popup-menu of the WebBrowser, it just says "<HTML></HTML>".

What am I doing wrong?