VBCE.com - The Premier Website For Visual Basic/CE Developers

 

*Dev Corner

Sample Code
Controls
Workarounds
Tips & Tricks
Q & A
Forums

*Goodies
Downloads
Software
Bookstore


*General
Home
What's New
General Info
Misc. Info


*News Worthy
News
Articles
Editorials
KB Articles
Reviews
Awards

*Miscellaneous
Web Links
Partners
Search
Feedback
Advertising

Sponsors


More...


Scripting Engine - Download The Source!

If you have an About box in your application, a nice extra touch is to throw in some information about the Scripting Engine.  There are 4 easy to use functions in VBCE which return scripting engine information.

scriptingengine.gif (4219 bytes)


Dim strVersion As String

'-- ScriptEngine() -
'-- Returns a string representing the scripting language in use.

'-- ScriptEngineBuildVersion() -
'-- Returns the build version number of the script engine in use.

'-- ScriptEngineMajorVersion() -
'-- Returns the major version number of the script engine in use.

'-- ScriptEngineMinorVersion() -
'-- Returns the minor version number of the script engine in use.

strVersion = "Script Engine: " & ScriptEngine & vbCrLf
strVersion = strVersion & "Script Engine Build Version: " & ScriptEngineBuildVersion & vbCrLf
strVersion = strVersion & "Script Engine Major Version: " & ScriptEngineMajorVersion & vbCrLf
strVersion = strVersion & "Script Engine Minor Version: " & ScriptEngineMinorVersion & vbCrLf

MsgBox strVersion

 


VBCE.com is DevX Winner!

Unless otherwise noted, all information on VBCE.com is Copyright 1998 - 2002
Windows, Windows CE, and Visual Basic are trademarks of the Microsoft Corporation.
VBCE.com is not responsible for content on external sites.
Send all feedback to webmaster@vbce.com
Webmasters - feel free to link to
VBCE.com - Premier Website for Visual Basic/CE Development

Buy Books!