Forum Moderators: coopster & phranque

Message Too Old, No Replies

VBScript engine

Which version on W2K server

         

joshie76

2:44 pm on Apr 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Anybody know how I can find out which VBScript engine version comes with a standard build of Windows 2000 server?

Basically we want to use classes (which require VBScript 5.0) and whilst I'm pretty sure this comes as standard on W2000 servers we need to be 100% sure. Any ideas?

Josh

joshie76

6:56 pm on Apr 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We just had a look at that the VBScript dll on a standard W2k box and the version was 5.1 - we're pretty sure thats safe. VBScript 5 came with IE5 which is also part of the standard windows 2000 install so we're confident we can use VBScript classes in ASP.

If anybody knows otherwise - be sure to let me know:)

Josh

Xoc

7:07 pm on Apr 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are going to do classes, why not build an ActiveX DLL in Visual Basic 6.0 instead of using VBScript? This will have better performance and be easier to maintain. It will also port to VB.NET easier.

joshie76

7:25 pm on Apr 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just a couple of things we'd like on the ASP pages (SS includes) for visibility when the application has to be installed and supported by our implementation and support teams. The vast meat of the work is carried out by COM+ but some things will be changed very regularly and we want to avoid recompiling etc etc.

william_dw

1:22 am on Apr 19, 2002 (gmt 0)

10+ Year Member



hiya,
there's a really simply script which will tell you the version number:

ASP version (just put this in a blank page, upload it & view it through your browser):
<%response.write ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion%>

That will print the major & minor version numbers, the VBScript interpreter sets them as constants on init.

Or if you have actual access to the server, you can use this version as a .html file on your server, open it using the physical path, ie: c:\inetpub\ www. sqlcoders .com \webroot\tests\VBVer.html

<script>
document.write (ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion)
</script>

HTH,
Dw

On my server (win2k w/ASP.net v1) I get 5.1 as the version, but check with the above and be sure.

PS: This probably does not work using ChilliASP on linux, then again i'm biased :)