Platform SDK: CDO 1.2.1

Using the Frameset DTC

The Frameset DTC is designed to be used in design environments that support DTCs, including Microsoft® Visual InterDev™. Using Visual InterDev, you can insert Design Time Controls on any HTML or ASP page.

To insert a DTC using Visual InterDev, select the Into HTML option from the Insert menu, and then select ActiveX Control. Next select the Design-time tab. A list of DTC controls is displayed. When you select FrameDTC.Frameset from the list, this DTC is inserted into the current HTML page, and the control's property page is displayed. When the DTC is closed, it automatically generates the necessary code and inserts the code into the Web page you are editing.

The DTC control is displayed as green text in Microsoft Visual InterDev. To change its properties, select the green text, right-click the selection, and press Edit Design-Time Control. Again, the properties for the DTC are displayed. The code the DTC generates is updated when you close the DTC.

You must remove the HTML <BODY> and </BODY> tags or insert the Frameset DTC in a location outside these BODY tags for the page to display the frames and content correctly. This restriction does not apply when using inline frames, which are a feature present in Microsoft® Internet Explorer version 3.0 and above.