Skip to main content
Participating Frequently
October 27, 2010
Question

Code Coloring, ASP/VBScript, & CS5

  • October 27, 2010
  • 1 reply
  • 487 views

My IT area has set up the web  server  to process all .HTM files as if they were .ASP. Subsequently, I  cannot  view my HTM files as they would appear if they were "true" ASP  files in  Dreamweaver CS5. I applied the changes described in TechNote  16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to the Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.

Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.

No matter which file with the HTM extension I open in Dreamweaver, I get this message:

When  this happens also I need to terminate Dreamweaver using Windows XP's  Task Manager.  File > Close, application "close" button, Ctrl+Q  and Alt+F4 do not  work.
This topic has been closed for replies.

1 reply

Participating Frequently
October 27, 2010

As far as I know (could be wrong here), DW does not allow you to alter the behavior of htm(l) files. The technote is aimed at adding new file types that DW doesn't already recognize.