DHTML Editor
Home ] Access - Start Here ] Excel In Depth ] MS Office ] Visio Info ] Creating Web Pages ] Technical References ] Viruses ] Points of View ] Gadgets ] Just Links ] Monash ]

   Search this site or the web       powered by FreeFind
 
  Site search Web search

Participate in Ananda's Discussions
Post a message

Monitor page
for changes
    
   it's private  

by ChangeDetection

Up

popUpDHTMLEditor Documentation

Hi, I'm Ananda Sim. It's now 9th October 2000.

I've always wanted to do two things:

  • make the Microsoft Access plain text memo field produce rich text
  • have a go at making Visual Basic ActiveX Controls, ActiveX DLLs.

I've finally done that with this ActiveX .DLL.

Requirements

  • Requires IE 5.x
  • Requires VB6 SP4 runtimes.

How to install it

How to use it

  1. Go into the VBA IDE - Access, Excel, Word etc...
  2. From the menu, select Tools, References, find and enable Ananda's VB Wrapper for DHTMLEditor OCX
  3. When you press F2 (Object Browser), you should see a library called popUpDHTMLEditor.
  4. There is only one class in this library called Editor.
  5. There is only one member function - Show.
  6. In a form where you have a textbox bound to a memo field, you can write code like this:

Private Sub txtMemoField_DblClick(Cancel As Integer)
Dim objEditor As New popUpDHTMLEditor.Editor
Dim strBuffer As String
   If IsNull(Me.txtMemoField) Then
      strBuffer = objEditor.Show("")
   Else
      strBuffer = objEditor.Show(Me.txtMemoField)
   End If
   Me.txtMemoField = strBuffer
End Sub

More Information

The Microsoft demo sample program VBEdit was the basis for this program. 

Web Workshop - DHTML Editing Component

MSDN Online Samples - DHTML Editing Control

Disclaimer

This is program is freeware. Use it at your own risk.