469,342 Members | 5,935 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

Guid generation

In VB.net you can

dim aGUID as System.GUID
aGuid = Guid.NewGuid()
-----Original Message-----
Hi,
I need to know how to generate a GUID programmatically. Ibasically want to use the guids as a property of another
object...I will be converting them to strings. I am not
planning on using this guid as anything more than a 128
bit random string generator. Thanks in advance for any
help.
Roy.
.

Jul 19 '05 #1
1 5391
Thanks Scott,
I am doing it in C#, but I just needed the FCL class to
call, looks like System.GUID is the right one...Yup, works
like a charm. Thanks for the info.
-----Original Message-----
In VB.net you can

dim aGUID as System.GUID
aGuid = Guid.NewGuid()
-----Original Message-----
Hi,
I need to know how to generate a GUID programmatically.

I
basically want to use the guids as a property of another
object...I will be converting them to strings. I am not
planning on using this guid as anything more than a 128
bit random string generator. Thanks in advance for any
help.
Roy.
.

.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rick | last post: by
10 posts views Thread by www.dir | last post: by
26 posts views Thread by John Grandy | last post: by
1 post views Thread by Scott Meddows | last post: by
4 posts views Thread by David Garamond | last post: by
8 posts views Thread by Leon_Amirreza | last post: by
reply views Thread by Tim Golden | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.