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]
"ucasesoftw are" <ucasesoftware@ hotmail.fr> wrote in message
news:1126288787 .916208.89520@o 13g2000cwo.goog legroups.com...[color=blue]
> if guid1 = guid2 then
>
> Doesn't work ! ???
>
> How to compare them ?
>[/color]
Comment