Guid generation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott Meddows

    #1

    Guid generation

    In VB.net you can

    dim aGUID as System.GUID
    aGuid = Guid.NewGuid()
    [color=blue]
    >-----Original Message-----
    >Hi,
    >I need to know how to generate a GUID programmaticall y.[/color]
    I[color=blue]
    >basically want to use the guids as a property of another
    >object...I will be converting them to strings. I am not
    >planning on using this guid as anything more than a 128
    >bit random string generator. Thanks in advance for any
    >help.
    >Roy.
    >.
    >[/color]
  • Roy Pereira

    #2
    Guid generation

    Thanks Scott,
    I am doing it in C#, but I just needed the FCL class to
    call, looks like System.GUID is the right one...Yup, works
    like a charm. Thanks for the info.[color=blue]
    >-----Original Message-----
    >In VB.net you can
    >
    >dim aGUID as System.GUID
    >aGuid = Guid.NewGuid()
    >[color=green]
    >>-----Original Message-----
    >>Hi,
    >>I need to know how to generate a GUID programmaticall y.[/color]
    >I[color=green]
    >>basically want to use the guids as a property of another
    >>object...I will be converting them to strings. I am not
    >>planning on using this guid as anything more than a 128
    >>bit random string generator. Thanks in advance for any
    >>help.
    >>Roy.
    >>.
    >>[/color]
    >.
    >[/color]

    Comment

    Working...