HTML Editor control in Windows Forms 2.0

  • Thread starter Thread starter Joubert Nel
  • Start date Start date
J

Joubert Nel

Hello,

Previously I leveraged mshtml, the IE component that supports editing HTML,
via the Microsoft-provided interop assembly.

However, it seems that this is not compatible with the .NET Framework 2.0.
Furthermore, I cannot seem to find any updates to the MS-IE interop that
will enable it to function with .NET 2.0.

Any ideas? (either a solution to use mshtml in .NET 2.0 or a 3rd party
control that can do the job)

Regards
Joubert
 
I found out I can use the control System.Windows.Forms.WebBrowser.

To allow editing, one can issue commands such as:

this.webBrowser.DocumentText = String.Empty;
this.webBrowser.Document.ExecCommand("EditMode", true, null);

Cheers
Joubert
 
Back
Top