HOWTO: Specify HTC/HTA Files as HTML in Visual InterDev 6.0

ID: Q200874


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 5.0, 5.0dp1, 5_beta
  • Microsoft Visual InterDev, version 6.0


SUMMARY

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.


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.



REFERENCES

For more information, please see the MSDN Web Workshop:

http://msdn.microsoft.com/workshop/default.asp

© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Jason Strayer, Microsoft Corporation

Additional query words: kbDSupport kbbeta

Keywords : kbDHTML kbInternet kbVisID600 kbIE500dp1 kbIE500beta kbIE500 kbInetDev
Version : WINDOWS:5.0,5.0dp1,5_beta,6.0
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.