VBScript
VBScript
Get Version of Chilkat
Demonstrate how to find out the version of Chilkat at runtime.Chilkat VBScript Downloads
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)
' Most Chilkat classes include a Version property.
' To find the version of Chilkat, such as "9.5.0.94",
' instantiate the object and examine the Version property.
' For example:
set sftp = CreateObject("Chilkat.SFtp")
chilkatVersion = sftp.Version
outFile.WriteLine(chilkatVersion)
' Most other Chilkat classes also have the Version property
' For example:
set json = CreateObject("Chilkat.JsonObject")
outFile.WriteLine(json.Version)
outFile.Close