There is an activex edit control that has extensive capabilities -- CodeMax. An older version (v2.11) is available free (with source code) on Yahoo Groups (
http://groups.yahoo.com) at CodeMax Group. You will have to join the group, then go to download files section.