PDA

View Full Version : Activating VB?


gorilla1
11-07-2002, 01:10 PM
I am working on a server where I can use ssi with shtml extension and I believe it is an ASP enivronment. However, if I run an asp file (exstension = "asp)", the html portions work but the visual basic logic does not execute. If I run
<% Response.Write(ScriptEngine _
& " " & ScriptEngineMajorVersion & "." _
& ScriptEngineMinorVersion _
& " Build " & ScriptEngineBuildVersion) %>

I get a blank screen, instead of version info.... So you will ask, why not ask my host? Well, the host is half out of business, and technical support is lacking. Is there a way to determine what software the host is running, and how does one activate the VB scripting engine?

G

Roelf
11-07-2002, 01:16 PM
sometimes you have to view source to see the response.writes

gorilla1
11-07-2002, 01:31 PM
Thanks Roelf. If I view source, the vb script portion is completely visible. Again, it appears as though it was treated as comments rather than interpreted.

G

whammy
11-08-2002, 12:34 AM
Unfortunately if you use something like:

<% = "Hello World!" %>

on an .asp page, and it isn't processed, then the server isn't running ASP. :(

You can always get a decent server that does, though. Brinkster.com is one... or make your own using IIS.

gorilla1
11-08-2002, 01:13 AM
OK, thanks. It is a situation where the particular party is committed to the host for political reasons.

G