Dim g1 As Guid
g1 = Guid.NewGuid

this code gives a guid that is formated like:

xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx

Is there code to tell a guid not to use hyphens?