Work with DHTMLEdit

hi,
I want use DHTMLEdit1 in own program and set DocumentHTML with Html code that include "Link", for Sampsel this code:

<html>
<body>
<p dir="ltr"><a href="www.yahoo.com</a></p>" target="_blank">http://www.yahoo.com">www.yahoo.com</a></p>
</body>
</html>

then in DHTMLEdit1 set BrowsMode to True and running program.
when I click on www.yahoo.com on DHTMLEdit1 ,open Internet explorer and view yahoo website.

But I want get "http://www.yahoo.com" in string to label, and don't run internet explorer

please help to me


Answer this question

Work with DHTMLEdit

  • _Igor

    There is a microsoft DHTMLEDIT SDK which is no longer supported by Microsoft avaialable for download here:

    http://www.odeum.com/download/dhedsdk.exe

    It has tons of documentation and examples in VB6 which is readily adapatble to .Net.

    Good luck.



  • Skizznott

    Hi Saeed,

    With the WebBrowser control, I'd recommend that you use either the DocumentStream or Documenttext properties for this.

    Read an Html document in as a file stream and one of those two properties will display the document for you.



  • dholt

    Hi....

    I've had a lot of experience with DHTMLEDIT as a matter of fact it've recommended it for specific applicatiins here. I like the control.

    Among my recomendations, I've recommended NOT using DHTML on the net. It has serious security problems. You could execute a script that here it could read, write, delete ot edit files on your system.

    I would recommend that you not use DHTMLEDIT. There i a safe version with lessor functionality.

    I'd recommend that you use the current WebBrowser control. That's a much safer alternative.



  • Amal Kamel

    Hi ,

    Are you know another Object , until give HTML code on source and view , then on click links, view link's code on label


  • AndyPowell

    Hi,

    please help to me :((

    I want source code until used DHTMLEdit control , and when i click on link to browsmode view link code on the label.


  • RPaulo

    Yes....

    The webBroswer will do that and I id my best to share that.



  • audreynsarah

    I used WebBrowser1 control and in BeforeNavigate2 can use URL , this work,

    But in WebBrowser1 ,get html cod in file mode:

    WebBrowser1.Navigate "c:\test.html"

    and in DHTMLEdit1, get html code in source code for sample :

    DHTMLEdit1.DocumentHTML="<htm><body><a href='http://www.site.com'>www.site.com</a></htm></body>"

    and i want used html code on source code :(


  • real green

    General DHTMLEdit control question:

    Is there a way to get rid of the resize handles that appear when you select an image in DHTMLEdit We are using images only as a visual aid in the editor, and we don't want the user to be bothered with seeing these handles. If this is not feasible, perhaps a better approach would be to create our own font with these images (since they are no larger than the characters). Or maybe there's another approach I haven't thought of. But if there were an easy way to turn off the resize handles, that would be the path of least resistance.

    Thanks for any hints


  • Work with DHTMLEdit