Solved

GUID is used for?

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

778 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