Hi Iam using Visual Basic 2010 Proffisional
When I set the webbrowser (IE 9) control to editing mode, I can't change the html source code of it. for example when I add this code into button_click event :
WebBrowser1.DocumentText = "Hellooo" All document Text become nothing (Delets all things in DocumentText)
so I mean I want to open existing HTML file in editing mode, and edit it with design mode and code text too.
the code I used to set the webBrowser into Designing mode is:
Me.WebBrowser1.Document.ExecCommand("EditMode", False, Nothing)
another problem for example when I want to add link to selected text I used this code:
Me.WebBrowser1.Document.ExecCommand("CreateLink", False, Nothing)
The problem of this code is the webBrowser control its link dialog, and I want to display my custom dialog... not for insert link only, but for insert image and other dialogs...
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)