The DirectX7.CreateNewGuid method generates a globally unique identifier.
object.CreateNewGuid() As String
If the method succeeds, a GUID in string form is returned.
If the method fails, an error is raised and Err.Number is set.
Using GUIDs