Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

GUID is used for?

Posted on 2006-06-14
4
277 Views
Last Modified: 2010-04-23
Hi, i have been reading up on interop recently and i have found out there are many codes that requires the use of GUID. May i know what is a GUID for? and how can i get a GUID?
0
Comment
Question by:jaxrpc
  • 2
4 Comments
 
LVL 4

Expert Comment

by:g_johnson
ID: 16905292
GUID = Globally Unique IDentifier.

One way to "get" a guid is from SQL as a "NewId"
0
 
LVL 9

Assisted Solution

by:lojk
lojk earned 100 total points
ID: 16905372
.net has a createguid function i believe but ive never really had any reason to use it.. It usually adds GUIDs itself where it needs them (i.e .net Components that are exposed via COM)...
0
 
LVL 17

Accepted Solution

by:
ZeonFlash earned 400 total points
ID: 16906061
The function that lojk referred to is:

Dim Guid As String = System.Guid.NewGuid().ToString()
0
 
LVL 9

Expert Comment

by:lojk
ID: 16906249
yep... thats the monkey...
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question