By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,982 Members | 1,919 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,982 IT Pros & Developers. It's quick & easy.

Guid generation

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.