Anatomy of DHTMLEd
The DHTML Editing Component is three things in two packages:
- TriEdit.dll is installed in \Program Files\Common Files\Microsoft Shared\Triedit\. It implements an IOleDocument which aggregates Trident, the document object displayed by Internet Explorer. I don't know of anyone CoCreating ITriEditDocument directly. If you have, let me know and I'll send you a token of my respect.
- DhtmlEd.ocx is co-located with triedit.dll and implements two ActiveX controls:
- The Safe-for-Scripting version of the DHTML Editing Control, DHTMLSafe, which is useful when hosted in an HTML page.
- The Unsafe version of the control, DHTMLEdit, which is useful in client apps build in VB, etc.
Technically, there are also a couple of other helper objects wrapped up in the package which are used as parameters for methods of the DHTML Editing Controls; a DEInsertTablePram and a DEGetBlockFmtNamesParam.
TriEdit.dll was developed for VID and was used extensively by the HTML Designer. The control was developed initially by a contractor and handed off to me for completion and shipping (80% done, 80% to go, you know.) The idea was to bring the nice HTML designer features of VID to Visual Basic in a nicely packaged control.