(VBScript) Get Version of Chilkat
Demonstrate how to find out the version of Chilkat at runtime.
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:
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.SFtp")
set sftp = CreateObject("Chilkat.SFtp")
chilkatVersion = sftp.Version
outFile.WriteLine(chilkatVersion)
' Most other Chilkat classes also have the Version property
' For example:
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.JsonObject")
set json = CreateObject("Chilkat.JsonObject")
outFile.WriteLine(json.Version)
outFile.Close
|