R
Robert Mark Bram
Hi All!
I have the following in a vb script:
option explicit
Response.Expires = -1
Server.ScriptTimeout = 600
The script gets imported in the following way:
<script language="VBscript" runat=server src="lib/upload/aspUpload.asp">
</script>
I get the following error:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/RobertMarkBram/lib/upload/aspUpload.asp, line 10
option explicit
I do *not* have this in my script:
<%@ LANGUAGE=VBSCRIPT EnableSessionState=False %>
<%
Option Explicit
%>
Because the script is an external vb library.. (I use JavaScript on the same
page).
Can anyone suggest how I can get option explicit in there?
Thanks for any advice!
Rob
I have the following in a vb script:
option explicit
Response.Expires = -1
Server.ScriptTimeout = 600
The script gets imported in the following way:
<script language="VBscript" runat=server src="lib/upload/aspUpload.asp">
</script>
I get the following error:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/RobertMarkBram/lib/upload/aspUpload.asp, line 10
option explicit
I do *not* have this in my script:
<%@ LANGUAGE=VBSCRIPT EnableSessionState=False %>
<%
Option Explicit
%>
Because the script is an external vb library.. (I use JavaScript on the same
page).
Can anyone suggest how I can get option explicit in there?
Thanks for any advice!
Rob