Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How To Specify HTC/HTA Files as HTML in Visual InterDev 6.0

View products that this article applies to.


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.

↑ Back to the top

More information

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:
  1. 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.
  2. 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.
  3. In the list box on the Open With dialog box, select HTML Editor and then click the Set as default button.
  4. 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.

↑ Back to the top


For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

↑ Back to the top

Keywords: KB200874, kbinetdev, kbhowto, kbdhtml

↑ Back to the top

Article Info
Article ID : 200874
Revision : 3
Created on : 5/11/2006
Published on : 5/11/2006
Exists online : False
Views : 341