These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Using webexplore with another vendor's

I've got some ASP code that allows me to password protect any page using a database.  However, in order to protect a page I have to put <%  Language=VBScript.Encode %> at the top.

When I do that for your program, I get errors:

error:
Microsoft VBScript compilation error '800a0400' 

Expected statement 

/explorer/jwebexplorer.asp, line 87 

Option Explicit
^
 And the form doesn't open.  How can I correct this?
Vanessa 12/7/2002 1:15 PM
If you use <% Language=VBScript.Encode %>, the asp file will be treated as an encrypted page and this will give a compilation error as the code of WebExplorer Free is not encrypted. Possibly your protecting ASP tool
is in encrypted format thus it requires the target
page to be encrypted as well else including won't work.
You should try to actually encode WebExplorer Free with Microsoft's script encoder:
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/789/msdncompositedoc.xml
Cem Alacayir 12/11/2002 2:38 PM
Thank you so much for your answer.  I will try that.
Vanessa 12/12/2002 12:12 AM