faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

65 of 71 people (92%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

how to find vbscript version by writing the code in vbscript

Nov 19th, 2001 08:47
Luiz Paulo Rosa, ponnala ganesh,


You can use VBScript functions to do that.
ScriptEngineMajorVersion function returns the major version of script 
engine and 
ScriptEngineMinorVersion function returns the minor version of script 
engine.
If you use
<%
response.write "Version "&  ScriptEngineMajorVersion & "." & 
ScriptEngineMinorVersion
%>
it returns (in my case)
Version 5.0



© 1999-2004 Synop Pty Ltd