472,342 Members | 1,327 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,342 software developers and data experts.

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 5465
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rick | last post by:
When using a Guid as your primary key in a table, does it make sense to make it a clustered index? Thanks, Rick
10
by: www.dir | last post by:
Hi, The following is from MSDN. "A GUID is a 128-bit integer (16 bytes) that can be used across all computers and networks wherever a unique...
26
by: John Grandy | last post by:
Is it possible to generate a 20 byte integer from a GUID that is "unique enough" ( just like a GUID is not truly unique , but is "unique enough" )....
1
by: Scott Meddows | last post by:
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...
4
by: David Garamond | last post by:
Has anyone tried using inet or cidr for storing GUID (or for storing 128bit numbers or hashes or similar stuffs)? It has a nice property in that...
8
by: Leon_Amirreza | last post by:
I have a column named "ID" and its type is "uniqueidentifier" in SQL Server 2005 Express. this column is the primary key and its default value is...
0
by: Tim Golden | last post by:
Robert Rawlins wrote: Not only is the answer, Yes: http://docs.python.org/lib/module-uuid.html but it's just featured as Doug Hellmann's...
16
by: sloan | last post by:
Current Framework 2.0/3.0. ... In Sql Server, there is a way to generate consecutive guid's. newsequentialid. Is there a way to reproduce...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.