Solved

GUID is used for?

Posted on 2006-06-14
4
274 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
Comment Utility
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
Comment Utility
.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
Comment Utility
The function that lojk referred to is:

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

Expert Comment

by:lojk
Comment Utility
yep... thats the monkey...
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 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

10 Experts available now in Live!

Get 1:1 Help Now