This article was previously published under Q200874
This article has been archived. It is offered "as is" and will no longer be updated.
Introduced in Internet Explorer 5, the HTML Component (HTC) is a mechanism for implementing Dynamic HTML (DHTML) behaviors in script and the HTML Application (HTA) is a mechanism for displaying HTML as a standalone application.
This article explains how to update Visual InterDev 6.0 to enable these new file types to be edited using the Visual InterDev 6.0 HTML editor.
To set up Visual InterDev 6.0 to recognize HTC or HTA files as HTML files, set the HTML editor as the default application to open files of type HTC/HTA. Use the following instructions to do this, once for each file type:
Open a solution (Visual InterDev project) that contains an HTC or HTA file or open an HTC or HTA file into Miscellaneous Files of any default solution.
In the Project Explorer window, right-click the HTC or HTA file and select Open With. The Project Explorer window appears at the top right of the workspace by default and shows a hierarchical view of your project files.
In the list box on the Open With dialog box, select HTML Editor and then click the Set as default button.
Visual InterDev will now syntax color script and tag declarations when you open HTC and HTA files in the future. HTC and HTA files open at the time of this change will need to be closed and re-opened to be viewed with the Visual InterDev HTML editor.
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: