Solved

GUID is used for?

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
start a process from a service 3 36
Help with converting xml file to excel using VB.NET 3 30
Data organization issue 7 36
Get sourcecode path 14 46
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…

680 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