8 charecter Guid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KUTTAN
    New Member
    • Mar 2007
    • 33

    8 charecter Guid

    I want to generate 8 Charerecter /digit guid


    How can I do this?

    Guid can be based on my own System.

    That if my code to generate the guid generate in any other system,
    it may or may not (no problem) generate same id

    Any way
    1)it must not exceed 8 characters
    2)it must not generate same guid in same machine
    3)it must not contain the following characters o,0,1,l,L

    I need this at vb/c# level

    how can I do this?
    please help
  • KUTTAN
    New Member
    • Mar 2007
    • 33

    #2
    Because,

    I just need 8 character, I would like to store it as a special unique identifier for a product in my product table(I don't like it to be a lengthy(32) string).

    Comment

    • cloud255
      Recognized Expert Contributor
      • Jun 2008
      • 427

      #3
      Hi

      You know that Visual Studio has a tool for creating GUIDs?
      Google also gave me 1,210,000 sites which help with creating GUIDs, some even have complete code (with explanations) which you are allowed to copy and modify...
      I suggest you try one of these, if you get stuck with the actual code, feel free to post what you have attempted and we'll see if we cannot help you.

      Please also see:

      Comment

      Working...