Folks,
I have generated a GUID. I want to convert it form it's hex output to just a number. Can anyone help please?
Here is the code so far:
The output is something like:
22877b8675044489b9b309c7e0390a5f
but I need this as just a number...
Can anyone help pleasE?
Thank you
G.
I have generated a GUID. I want to convert it form it's hex output to just a number. Can anyone help please?
Here is the code so far:
VB.NET:
[size=2][/size][size=2][color=#008000]' Generate a GUID for the logging file [/color][/size]
[size=2][color=#0000ff]Dim[/color][/size][size=2] NewGuid [/size][size=2][color=#0000ff]As[/color][/size][size=2] Guid = Guid.NewGuid[/size]
[size=2][color=#0000ff]Dim[/color][/size][size=2] myGuid [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]String[/color][/size][size=2] = NewGuid.ToString("N") [/size][size=2][color=#008000]'N means no dashes
[/color][/size]
The output is something like:
22877b8675044489b9b309c7e0390a5f
but I need this as just a number...
Can anyone help pleasE?
Thank you
G.