Code to Generate a GUID
The following example code shows how to generate a globally unique identifier (GUID).
Dim oGenID, sGUID
Set oGenID = Server.CreateObject("Commerce.GenID")
sGUID = oGenID.GenGUIDString()
Set oGenID = Nothing
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The following example code shows how to generate a globally unique identifier (GUID).
Dim oGenID, sGUID
Set oGenID = Server.CreateObject("Commerce.GenID")
sGUID = oGenID.GenGUIDString()
Set oGenID = Nothing