Working with the generated HTML

Normally you should not modify any of the HTML generated for a DTC because the changes you make will be lost the next time you modify the control properties and regenerate the output.

It is possible to insert the DTC-generated HTML without the control itself. If you choose Insert>Component>ActiveX from the HTML editor's menu bar and check the Generate Static Output property (on the Design-time tab), you get the HTML produced by the DTC but not the METADATA comments or OBJECT element. You can then modify this static output as you like without any worry of accidentally re-executing the DTC and overwriting your modifications.