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" <marco.pozzu...@gmail.com> a écrit dans le message de (e-mail address removed)...





- Mostra testo tra virgolette -

Hi Patrice,
is exactly what i need.

Many Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top