Hi there, I have a couple of questions about this control, or rather the two controls it allows you to use once you load it in vb6.
Firstly what's the difference between the DHTMLEdit and DHTMLSafe controls.
Secondly is it possible to lock the control so that it can't be edited, only updated by using the .DocumentHTML property.
Thirdly how do I access the HTML that is within the contro, for e.g. I tried msgbox DHTMLEdit1.DocumentHTML which works fine if I haven't changed the HTML within the control, however if I change it using DHTMLEdit1.DocumentHTML = "<html>..." then try to MsgBox it's contents and I get the following error:
Run-time error '-2147418113'
Property 'DocumentHTML' of object 'DHTMLEdit1' failed.
Any answers to these questions would be brilliant thank you, the third one isn't as important as the others as basically I'm going to be using the control in a messenger program to show the messages received from other users, and I'm creating a strHTML which is added to when a new message arrives then passed through the .DocumentHTML property to update the control. Therefore I can use this strHTML variable to output the conversation to a HTML file for archiving, but it would be handy to know how to access the HTML within the control for future references.