Results 1 to 3 of 3

Thread: how to make random string and back to normal string

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2015
    Posts
    21

    how to make random string and back to normal string

    Dear All,

    How to make a random numbers and back to actual string for visual basic 6. Please below the example;
    dataset = 1234567890 'Dataset
    dataBasedforRandom = 6342 'data for calculate or generate based


    'Result
    setRandomStringResult = 4086295371 'this is just example for random string.
    setBackActualStringResult = 1234567890 'generating base on setRandomStringResult

    I greatly appreciate for your help. Thanks!

    Cheers, Andrea
    Last edited by modelers; May 5th, 2018 at 04:53 AM.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: how to make random string and back to normal string

    Take a look at this recent thread. Jump to post #6 where XOR cipher is used
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: how to make random string and back to normal string

    Strings or numbers? And what the heck is the point of any of this?

    It sounds like a misunderstood school assignment.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width