Make a Global Unique ID

  • Thread starter Thread starter Marcolino
  • Start date Start date
M

Marcolino

Hi all,
in VB6 I had a routine that make a guid like this:
C9D3856B0F944B4D9BDA07572BCD922A
I use this value in DB and other part of my app.
I'm porting the application in VB.net 2005 and i'm not able to find a
way to make the same GUID.
Can anyone help me?
Many thanks in advance
Cheers

Marco
 
Have you tried System.Guid.NewGuid ? You can use ToString and remove the
hyphens to get somehting that should be similar to what you want.

If you tried, you may want to tell us exactly what is still not similar to
what you had before...
 
Have you tried System.Guid.NewGuid ? You can use ToString and remove the
hyphens to get somehting that should be similar to what you want.

If you tried, you may want to tell us exactly what is still not similar to
what you had before...

"Marcolino" <[email protected]> a écrit dans le message de (e-mail address removed)...





- Mostra testo tra virgolette -

Hi Patrice,
is exactly what i need.

Many Thanks
 
Back
Top