473,396 Members | 1,683 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,396 software developers and data experts.

Make a Global Unique ID

Hi all,
in VB6 I had a routine that make a guid like this:
C9D3856B0F944B4D9BDA07572BCD922A
I use this value in DB and other part of my app.
I'm porting the application in VB.net 2005 and i'm not able to find a
way to make the same GUID.
Can anyone help me?
Many thanks in advance
Cheers

Marco

Jun 7 '07 #1
2 2457
Have you tried System.Guid.NewGuid ? You can use ToString and remove the
hyphens to get somehting that should be similar to what you want.

If you tried, you may want to tell us exactly what is still not similar to
what you had before...

"Marcolino" <ma************@gmail.coma écrit dans le message de news:
11*********************@n4g2000hsb.googlegroups.co m...
Hi all,
in VB6 I had a routine that make a guid like this:
C9D3856B0F944B4D9BDA07572BCD922A
I use this value in DB and other part of my app.
I'm porting the application in VB.net 2005 and i'm not able to find a
way to make the same GUID.
Can anyone help me?
Many thanks in advance
Cheers

Marco

Jun 7 '07 #2
On 7 Giu, 13:05, "Patrice" <http://www.chez.com/scribe/wrote:
Have you tried System.Guid.NewGuid ? You can use ToString and remove the
hyphens to get somehting that should be similar to what you want.

If you tried, you may want to tell us exactly what is still not similar to
what you had before...

"Marcolino" <marco.pozzu...@gmail.coma écrit dans le message de news:
1181210151.388848.20...@n4g2000hsb.googlegroups.co m...
Hi all,
in VB6 I had a routine that make a guid like this:
C9D3856B0F944B4D9BDA07572BCD922A
I use this value in DB and other part of my app.
I'm porting the application in VB.net 2005 and i'm not able to find a
way to make the same GUID.
Can anyone help me?
Many thanks in advance
Cheers
Marco- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -
Hi Patrice,
is exactly what i need.

Many Thanks

Jun 7 '07 #3

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

Similar topics

16
by: WaterBug | last post by:
When clicking on the following link from an email i.e - http://myserver/myapplication/myprogram.asp?urlvar1=some%20stuff&urlvar2=more%20stuff I get a server 500 error. With that same browser...
2
by: Gianguz | last post by:
I'd like to discuss about the opportunity to have a global objects creator that introduces into a general framework (suited for multithreading) a controlled semantic to manage globals variables...
3
by: Stephen Kay | last post by:
Sorry fi this is a stupid question - I come from a c/c++ background, and the global variables in php aren't making sense to me. If I want to declare a global variable, say in a global.php file,...
16
by: Roman Ziak | last post by:
Hello, there were times when I used to be looking for a way to access JavaScript Global object similar to those found in VBScript or PHP ($GLOBALS). At present this has only academic value for...
9
by: CDMAPoster | last post by:
About a year ago there was a thread about the use of global variables in A97: http://groups.google.com/group/comp.databases.ms-access/browse_frm/thread/fedc837a5aeb6157 Best Practices by Kang...
11
by: kurt sune | last post by:
Does anyone know how to retrieve the current sessionId in Global.asax.ApplicationError? /k
16
by: thefritz_j | last post by:
We just converted our VS2003 1.1 VB web project (which was working fine) to VS2005 2.0 and now I get: Parser Error Message: Could not load type '<Namespace>.'. Source Error: Line 1: <%@...
3
by: teo | last post by:
I have two .aspx pages they use two different Global.asax files when I "Publish" the first .aspx page, its Global.asax is transformed in App_global.asax.compiled App_global.asax.dll to put...
0
by: cephal0n | last post by:
Hi All! I have two table tblHome1, contains all the unique PinNo and tblHome2 contains a duplicated PinNo and description. I put an automatic numbering (ProdID) and set it as my index. What I want...
3
by: Appr3nt1c3 | last post by:
Hello everyone! I am new to VB .Net and currently i'm using vb .net 2005. My question is: Is there a way to assign a global key handler for a certain key, like if i press F9 or any other key...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...

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.