Guid

  • Thread starter Thread starter Gary Dunne
  • Start date Start date
G

Gary Dunne

Is there a built in function for creating a Guid in VB .Net ?
I know about the CoCreateGuid API call, but I though that maybe it's been
built in to .Net ?

I've found the GUID class and tried

Dim oGuid as New Guid
Dim sGuid = oGuid.NewGuid()

But it gives me a blank GUID (string of zeros)

Thanks

Gary
 
Is there a built in function for creating a Guid in VB .Net ?
I know about the CoCreateGuid API call, but I though that maybe it's been
built in to .Net ?

I've found the GUID class and tried

Dim oGuid as New Guid
Dim sGuid = oGuid.NewGuid()

But it gives me a blank GUID (string of zeros)

Thanks

Gary

Dim oGuid as Guid = Guid.NewGuid

Cheers

Blu.
 
Thanks ...For some reason neither the original posting nor the reply
appeared in Outlook Express (and still haven't).. so I just re-posted.

I have the solution now, thanks again.

Gary
 
Back
Top