[How to] Create random strings(upper,lower and integers)[Src] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [How to] Create random strings(upper,lower and integers)[Src] (/showthread.php?tid=18067) Pages:
1
2
|
[How to] Create random strings(upper,lower and integers)[Src] - Modestep - 04-17-2011 Ill start with saying what this is, the code generates a string with random uppercase,lowercase, and numbers. You can edit how many random characters there will be. Here is the code: Code: Public Class Form1 Code: Const strUpper As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" Code: For i = 1 To CInt("25") RE: [How to] Create random strings(upper,lower and integers)[Src] - Resistance - 04-17-2011 Nice job, I don't know what someone may need this for, but great job. At least it works. I am bookmarking this. RE: [How to] Create random strings(upper,lower and integers)[Src] - Modestep - 04-17-2011 (04-17-2011, 08:26 AM)The High Roller Wrote: Nice job, I don't know what someone may need this for, but niec job. At least it works.Thank you for the nice comment RE: [How to] Create random strings(upper,lower and integers)[Src] - Mammoth - 04-18-2011 Good job, i already know this but this is good. RE: [How to] Create random strings(upper,lower and integers)[Src] - thespragg - 04-22-2011 remember to put "Randomize" in the form load, otherwise the rnd() function will return the same "random" value every time RE: [How to] Create random strings(upper,lower and integers)[Src] - Loukas - 04-23-2011 Nice share, what can this be used for? RE: [How to] Create random strings(upper,lower and integers)[Src] - thespragg - 04-23-2011 password generators and stuff RE: [How to] Create random strings(upper,lower and integers)[Src] - Blixx - 04-28-2011 Oh thanks, i looked for stuff like this my some fake software RE: [How to] Create random strings(upper,lower and integers)[Src] - Extornia - 05-01-2011 Thanks mate. This will make it easier for me to do fake keygens, etc. RE: [How to] Create random strings(upper,lower and integers)[Src] - euverve - 05-12-2011 A slight change version, with number of random strings to generate. Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Screenshot: |