VBScript function to create a guid

The function below can be used to create a GUID in VBSCRIPT:

Function CreateGuid
	Set TypeLib = CreateObject("Scriptlet.TypeLib")
	CreateGuid = TypeLib.Guid
	Set TypeLib = Nothing
End Function

Was once an enthusiastic PepperByte employee but is now working elsewhere. His blogs are still valuable to us and we hope to you too.