473,410 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

What is Create GUID

Dear all
What is Create GUID on menu Tools in vb.net and how can i use it for
something . as exsample

Brg,
TingN@ng

Nov 21 '05 #1
9 4147
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.
These are used for all sorts of things such as Class ID's in the registry to
uniquely identify a class. You can also use them in database pimary keys for
example if appropriate.

HTH

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Mis Dep." <mi*@indraceramic.com> wrote in message
news:uM*************@TK2MSFTNGP14.phx.gbl...
Dear all
What is Create GUID on menu Tools in vb.net and how can i use it for
something . as exsample

Brg,
TingN@ng

Nov 21 '05 #2
"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> schrieb:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.
These are used for all sorts of things such as Class ID's in the registry to uniquely identify a class. You can also use them in database pimary keys for example if appropriate.


ACK. For example, you need GUIDs when preparing your own .NET classes for
COM interop.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3
"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> schrieb:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.
These are used for all sorts of things such as Class ID's in the registry to uniquely identify a class. You can also use them in database pimary keys for example if appropriate.


ACK. For example, you need GUIDs when preparing your own .NET classes for
COM interop.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4
On Tue, 26 Oct 2004 11:21:29 +0100, One Handed Man ( OHM - Terry Burns )
wrote:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.


Not to start a religious war here, but 'gwid' has is not the correct
pronunciation for a GUID. The correct one is 'Goo-id" as you also
indicated. I cannot find the MS article that said this, but it does exist.

Does it matter? No. I was just feeling a bit picky :).

Cheers!

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 21 '05 #5
On Tue, 26 Oct 2004 11:21:29 +0100, One Handed Man ( OHM - Terry Burns )
wrote:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.


Not to start a religious war here, but 'gwid' has is not the correct
pronunciation for a GUID. The correct one is 'Goo-id" as you also
indicated. I cannot find the MS article that said this, but it does exist.

Does it matter? No. I was just feeling a bit picky :).

Cheers!

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 21 '05 #6
Actually Ive heard 'Gwid' used at user group meetings by various speakers,
as this is not part of any dictionary, who cares ?

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:1a******************************@40tude.net.. .
On Tue, 26 Oct 2004 11:21:29 +0100, One Handed Man ( OHM - Terry Burns )
wrote:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.


Not to start a religious war here, but 'gwid' has is not the correct
pronunciation for a GUID. The correct one is 'Goo-id" as you also
indicated. I cannot find the MS article that said this, but it does
exist.

Does it matter? No. I was just feeling a bit picky :).

Cheers!

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.

Nov 21 '05 #7
Actually Ive heard 'Gwid' used at user group meetings by various speakers,
as this is not part of any dictionary, who cares ?

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:1a******************************@40tude.net.. .
On Tue, 26 Oct 2004 11:21:29 +0100, One Handed Man ( OHM - Terry Burns )
wrote:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.


Not to start a religious war here, but 'gwid' has is not the correct
pronunciation for a GUID. The correct one is 'Goo-id" as you also
indicated. I cannot find the MS article that said this, but it does
exist.

Does it matter? No. I was just feeling a bit picky :).

Cheers!

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.

Nov 21 '05 #8

Terry, don't have you e-mail so thought I'd let you know thru this news
group that thanks to some help from others, I've polished up the Resources
class so you don't have to declare an instance of the class but can use it
direct via shared members. Here is the code:

Imports System.Reflection

Public Class Resources
'WARNING: Icon and Image Names are Case Sensistive
Private Shared Function AssemblyName() As String
Static v_AssemblyName As String
If v_AssemblyName Is Nothing Then v_AssemblyName =
System.Reflection.Assembly.GetExecutingAssembly(). GetName.Name & "."
Return v_AssemblyName
End Function
Public Shared Function GetIcon(ByVal IconName As String) As Icon
Dim asm As [Assembly] = [Assembly].GetExecutingAssembly
Dim v_name As String = IconName
If InStr(v_name.ToLower, ".ico") <= 0 Then v_name = v_name & ".ico"
Dim Name As String = AssemblyName() & v_name
Dim s As System.IO.Stream = asm.GetManifestResourceStream(Name)
If Not s Is Nothing Then
Return New Icon(s)
s.Close()
End If
End Function

Public Shared Function GetImage(ByVal ImageName As String) As Image
Dim asm As [Assembly] = [Assembly].GetExecutingAssembly
Dim v_name As String = ImageName
If InStr(v_name.ToLower, ".bmp") <= 0 Then v_name = v_name & ".bmp"
Dim Name As String = AssemblyName() & v_name
Dim s As System.IO.Stream = asm.GetManifestResourceStream(Name)
If Not s Is Nothing Then
Return New Bitmap(s)
s.Close()
End If
End Function

End Class
"One Handed Man ( OHM - Terry Burns )" wrote:
Actually Ive heard 'Gwid' used at user group meetings by various speakers,
as this is not part of any dictionary, who cares ?

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:1a******************************@40tude.net.. .
On Tue, 26 Oct 2004 11:21:29 +0100, One Handed Man ( OHM - Terry Burns )
wrote:
A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.


Not to start a religious war here, but 'gwid' has is not the correct
pronunciation for a GUID. The correct one is 'Goo-id" as you also
indicated. I cannot find the MS article that said this, but it does
exist.

Does it matter? No. I was just feeling a bit picky :).

Cheers!

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.


Nov 21 '05 #9
Thanks, I never go a chance to implement it yet anyway, so your version
update is welcome.

Thanks Dennis
"Dennis" <De****@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...

Terry, don't have you e-mail so thought I'd let you know thru this news
group that thanks to some help from others, I've polished up the Resources
class so you don't have to declare an instance of the class but can use it
direct via shared members. Here is the code:

Imports System.Reflection

Public Class Resources
'WARNING: Icon and Image Names are Case Sensistive
Private Shared Function AssemblyName() As String
Static v_AssemblyName As String
If v_AssemblyName Is Nothing Then v_AssemblyName =
System.Reflection.Assembly.GetExecutingAssembly(). GetName.Name & "."
Return v_AssemblyName
End Function
Public Shared Function GetIcon(ByVal IconName As String) As Icon
Dim asm As [Assembly] = [Assembly].GetExecutingAssembly
Dim v_name As String = IconName
If InStr(v_name.ToLower, ".ico") <= 0 Then v_name = v_name & ".ico" Dim Name As String = AssemblyName() & v_name
Dim s As System.IO.Stream = asm.GetManifestResourceStream(Name)
If Not s Is Nothing Then
Return New Icon(s)
s.Close()
End If
End Function

Public Shared Function GetImage(ByVal ImageName As String) As Image
Dim asm As [Assembly] = [Assembly].GetExecutingAssembly
Dim v_name As String = ImageName
If InStr(v_name.ToLower, ".bmp") <= 0 Then v_name = v_name & ".bmp" Dim Name As String = AssemblyName() & v_name
Dim s As System.IO.Stream = asm.GetManifestResourceStream(Name)
If Not s Is Nothing Then
Return New Bitmap(s)
s.Close()
End If
End Function

End Class
"One Handed Man ( OHM - Terry Burns )" wrote:
Actually Ive heard 'Gwid' used at user group meetings by various speakers, as this is not part of any dictionary, who cares ?

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:1a******************************@40tude.net.. .
On Tue, 26 Oct 2004 11:21:29 +0100, One Handed Man ( OHM - Terry Burns ) wrote:

> A Guid is a Global Unique Identifier GUID pronouced ' gwid' or 'Goo-id'.
Not to start a religious war here, but 'gwid' has is not the correct
pronunciation for a GUID. The correct one is 'Goo-id" as you also
indicated. I cannot find the MS article that said this, but it does
exist.

Does it matter? No. I was just feeling a bit picky :).

Cheers!

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.


Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: j erickson | last post by:
with the following xsl and xml file, the display of the gif file with the <image/url> tag works. However, the gif file in the <description> tag using the name attribute "src" won't make the correct...
15
by: Brian Rogers | last post by:
Hello everyone, I apologize for the cross and re-post, but I am still searching for an answer. Why can C++ can create this object, but C# can't? I am trying to create an instance of the...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
7
by: ESPNSTI | last post by:
Hi, I'd like to create a Guid constant and the following doesn't work (Cannot implicitly convert type 'string' to 'System.Guid') : public const Guid MyGuid =...
1
by: Grey | last post by:
how to create a GUID from ASP.NET??? Is it possible to use this ID as primary key in createing DB record?? Million Thanks..
2
by: Lucas Tam | last post by:
Hi all, I'm using the command GetType(MyObject).GUID to return a GUID. Is the GUID a CRC type calculation on the object, or is it a pre-assigned value on the object? I was hoping to have a...
10
by: Frank | last post by:
I've done this a few times. In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1. I hope no one gets hung up on why I...
8
by: Miro | last post by:
Hi sorry for the quick question. I am on the right track but just cant seem to find what to search for in my books / online for the answer I am looking for. I have created a dataset within my...
16
by: John Doe | last post by:
Hi, I wrote a small class to enumerate available networks on a smartphone : class CNetwork { public: CNetwork() {}; CNetwork(CString& netName, GUID netguid): _netname(netName),...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.