The HTML Editor OCX is a COM component and hence has prerequisites outside of the .NET framework and dependencies other than just the MSOffice components for it to function correctly. The following is a list of COM components that must be distributed with the control, some of which must be registered on the target machine. Registration of COM based libraries can be performed from the command line, however most deployment packagers (vs.net on-click, VB6 P&D Wizard, Wise, InstallShield etc) have this functionality included.
|Files required to be deployed with the HTML Editor Active Control|
||register (regsvr32.exe utility)|
|' vb6 runtimes
||register as type library (regtlib.exe utility)|
|'end vb6 runtimes
||register (only for build 2.5.2 and earlier of the control) |
||register (only for build 3.0.8 and later of the control) |
||register (min version 188.8.131.52) |
Visual Studio .NET
If you are using VS.net with a VS2005 one-click deployment package or VS2003 deployment project both will detect that the rmpHTML.OCX and associated assemblies are required but will not dig any deeper into what is required for the control to run correctly. So, either you need to include the other requirements in your deployment project, or, package them as a separate installation to be run when your application is installed or run by the end-user for the first time. The first option requires the most work initially but is the most desirable in the long run.
In the deployment project "folders" window in the VS2k3/2k5 dotNet IDE right click and add the system32 folder from the "add a special folder" context menu option. Into this folder add the files listed above and set the register fliag to "vsdrfCOM" and sharedlegacyfile to true so that removing your application from the users system will not damage other apps depending on the vb6 runtime.
The setupHTMLEdit.exe installer downloadable from this website is created using innoSetup. innoSetup is a freeware script based installation generator created by Jordan Russell (http://jrsoftware.org/isinfo.php) ... You may download the inno script used to create the setupHTMLedit.exe installer from here.