Game Card Scam Need Help menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Roger Fang's Avatar Banned
    Reputation
    17
    Join Date
    Aug 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game Card Scam Need Help

    I need help with a piece of code that will generate a random mix of numbers and letters which is however long a cd key is. (16 or something letters)

    I searched these forums today and couldn't find a related post. Need a visual basic code for this btw hlep is highly appreciated.

    Game Card Scam Need Help
  2. #2
    Zurkei's Avatar Contributor

    Reputation
    91
    Join Date
    Apr 2007
    Posts
    405
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Roger Fang View Post
    I need help with a piece of code that will generate a random mix of numbers and letters which is however long a cd key is. (16 or something letters)

    I searched these forums today and couldn't find a related post. Need a visual basic code for this btw hlep is highly appreciated.
    Here is the code for my randomizer.

    Code:
    Private Sub Command1_Click()
       Text1 = GenerateCode() 'make sure your textbox is called Text1
    End Sub
    
    Public Function GenerateCode()
       strInputString = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ" ' These are the characters which will be in the code
       
       intLength = Len(strInputString)
       
       intNameLength = Text2 ' This makes it so that what ever number is put in Text2 is how long the code will be
       
       Randomize (Timer) ' Just to make it random
       
       strName = ""
       
       For intStep = 1 To intNameLength
           intRnd = Int((intLength * Rnd) + 1)
       
           strName = strName & Mid$(strInputString, intRnd, 1)
       Next
       
       GenerateCode = strName
    End Function
    Hope this helps and that you end up understanding it.
    Last edited by Zurkei; 11-13-2008 at 05:03 PM.

  3. #3
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    fry2bubba - is that VB6?

    You should google on getrandomizefunction. Easy :')

  4. #4
    Zurkei's Avatar Contributor

    Reputation
    91
    Join Date
    Apr 2007
    Posts
    405
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zeroi9 View Post
    fry2bubba - is that VB6?

    You should google on getrandomizefunction. Easy :')
    Yes it is in VB6, why do you ask?

  5. #5
    f1ea's Avatar Member
    Reputation
    2
    Join Date
    Nov 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    He is basically saying there is a easier way of doing it.

  6. #6
    Zurkei's Avatar Contributor

    Reputation
    91
    Join Date
    Apr 2007
    Posts
    405
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by f1ea View Post
    He is basically saying there is a easier way of doing it.
    Easier isn't always better though like my code it isn't to hard but you learn more from it then a simple code.

  7. #7
    Ryoushi.'s Avatar Member
    Reputation
    54
    Join Date
    Nov 2008
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should say whether you want VB6 or VB8.

Similar Threads

  1. [Help] Game Card scam program
    By Neth'zul in forum Programming
    Replies: 12
    Last Post: 09-11-2008, 03:26 PM
  2. Epic irl game cards scam.
    By darkstaown in forum World of Warcraft General
    Replies: 8
    Last Post: 11-08-2007, 07:29 PM
All times are GMT -5. The time now is 05:37 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search