Hello it works like this
Dim a As Guid = Guid.NewGuid
Dim b As Guid = a
'Dim b As Guid = Guid.NewGuid
If a.Equals(b) Then
MsgBox("they are the same ")
Else
MsgBox("they are not the same ")
End If
or you could first use the tostring method and then compare them
regards
Michel Posseth [MCP]
"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
if guid1 = guid2 then
Doesn't work ! ???
How to compare them ?