Solved

GUID is used for?

Posted on 2006-06-14
4
275 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now