DHTML editor with AxWebBrowser

  • Thread starter Thread starter dai2
  • Start date Start date
D

dai2

Hi all,

I try to make a DHTML editor in C#. I arrive to modify a web page. Now
I want to add picture but i don't arrive to find good documentation or
sample on the web.

Here is my source code :
private void frmEdit_Load(object sender, System.EventArgs e)
{
object missing = System.Reflection.Missing.Value;
object path = Directory.GetCurrentDirectory() + "\\test.htm";
mshtml.HTMLDocumentClass doc;
this.axWebBrowser1.Navigate2(ref path, ref missing, ref missing, ref
missing, ref missing);
doc = (mshtml.HTMLDocumentClass)this.axWebBrowser1.Document;
doc.designMode = "On";
}

I want to add a button to insert an image where the cursor is.

Can you help me please ?

TIA

D
 
Back
Top