I got a trouble when writing VB script ASP code with Visual Studio .Net.
The first two line of code in my ASP page is always:
<%@ LANGUAGE="VBScript" %>
<% Option Explicit %>
However, after I did some chagne in the "Design mode" of this page and returned to the "HTML" mode, the editor automatically inserts "<HTML><Head><Title>" part of my html code between the above two lines. The I got an error message "Expected statement" when I ran the code.
Is there any way to solve the problem. Can I disable this automatic formatting function of Visual Studio .net?
Seaport
The first two line of code in my ASP page is always:
<%@ LANGUAGE="VBScript" %>
<% Option Explicit %>
However, after I did some chagne in the "Design mode" of this page and returned to the "HTML" mode, the editor automatically inserts "<HTML><Head><Title>" part of my html code between the above two lines. The I got an error message "Expected statement" when I ran the code.
Is there any way to solve the problem. Can I disable this automatic formatting function of Visual Studio .net?
Seaport