![]() |
|
[.NET] Randomizer thingy - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Randomizer thingy (/showthread.php?tid=4896815) |
Randomizer thingy - Eru Chitanda - Jul 7, 2015 Well vb coding is not my thing so if anyone can help me that would be amazing, i dont know if this is possible or what ever cause I searched it already in google, facebook , etc. What I want is a program that randoming alpha and numeric characters and alpha is uppercase in all times, buttons with start, export and stop, textboxes, one is for result of randoming characters and one is for how many do you want something like that. so ye thats what i want since ive been transferred in another class 🎉 If anyone could help me i really appreciated that and if anyone knows where do i find something like this please comment it thank you 😝 Sum up is to random upper cased letter and numbers with your desired length ( for example 17 characters of alphanumeric) that displays in textbox not once but displays in row just like when you grab proxy in proxy grabber. Idk how i explain it but would love to know how to do it or where do i get it * - +Haze - Jul 7, 2015 wut? Can you rephrase what or show a demonstration * - Nicktron - Jul 7, 2015 Maybe I'm asking dumb, but what is Alpha characters? * - Ninja - Jul 7, 2015 (Jul 7, 2015 05:39 AM)Nicktron Wrote: Maybe I'm asking dumb, but what is Alpha characters? alpha is letters. alphanumeric is letters and numbers. * - BahNahNah - Jul 7, 2015
* - Odus - Jul 7, 2015 (Jul 7, 2015 07:07 AM)BahNahNah Wrote: Okay, my turn: Code Private _r As New Random* - +Haze - Jul 7, 2015 (Jul 7, 2015 08:50 AM)Odus Wrote: Okay, my turn: #Odis 4 VB.NET Mod Odis 1 : BahNahNah 0 * - Only3 - Jul 7, 2015 (Jul 7, 2015 08:50 AM)Odus Wrote: Okay, my turn: finally u start to use Concat * - Vysse - Jul 7, 2015 (Jul 7, 2015 08:50 AM)Odus Wrote: Okay, my turn: My turn Code Private _r As New RandomMine has less lines then yours :P * - Oliver Sykes - Jul 7, 2015 (Jul 7, 2015 08:13 PM)Vysse Wrote: My turn Using a colon doesn't count with this type of thing. * - +Haze - Jul 7, 2015 (Jul 7, 2015 08:13 PM)Vysse Wrote: My turn I win.? Code Private Function GenStr(len As Integer) As String : Dim _r As New Random : Dim map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" : Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length)))) : End FunctionMy code is exactly one line. Can't get any better than that can you? 😏😏😏 Only3 would approve of this post. * - BahNahNah - Jul 7, 2015 (Jul 7, 2015 08:13 PM)Vysse Wrote: My turn Defining functions is for squares Code Random r = new Random(); |