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
wut? Can you rephrase what or show a demonstration
DO NOT DEAL WITH THIS MEMBER
Maybe I'm asking dumb, but what is Alpha characters?
DO NOT DEAL WITH THIS MEMBER
(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.
Lotta blood to let, peace to make, give a fuk about a check
DO NOT DEAL WITH THIS MEMBER
Jul 7, 2015 08:50 AM
(This post was last modified: Jul 7, 2015 08:51 AM by Odus.)
(Jul 7, 2015 07:07 AM)BahNahNah Wrote: ![[Image: pkgnxuW.png]](https://i.imgur.com/pkgnxuW.png)
Okay, my turn:
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
(Jul 7, 2015 08:50 AM)Odus Wrote: Okay, my turn:
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
#Odis 4 VB.NET Mod
Odis 1 : BahNahNah 0
(Jul 7, 2015 08:50 AM)Odus Wrote: Okay, my turn:
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
finally u start to use Concat
(Jul 7, 2015 08:50 AM)Odus Wrote: Okay, my turn:
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
My turn
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" : Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
Mine has less lines then yours :P
(Jul 7, 2015 08:13 PM)Vysse Wrote: My turn
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" : Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
Mine has less lines then yours :P
Using a colon doesn't count with this type of thing.
riperino animefanerino
(Sep 12, 2016 04:11 PM){Nexus} Wrote: If the FBI come knocking I'm gonna spew information out my ass about Aeon.
They'd have to tell me to stop giving them information.
(Jul 7, 2015 08:13 PM)Vysse Wrote: My turn
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" : Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
Mine has less lines then yours :P
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 Function
My code is exactly one line. Can't get any better than that can you? 😏😏😏 Only3 would approve of this post.
(Jul 7, 2015 08:13 PM)Vysse Wrote: My turn
Code Private _r As New Random
Private Function GenStr(len As Integer) As String
Const map As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" : Return String.Concat(Enumerable.Repeat(map, len).Select(Function(s) s(_r.Next(map.Length))))
End Function
Mine has less lines then yours :P
Defining functions is for squares
Code Random r = new Random();
Func<int, string> randomString = l => String.Concat(Enumerable.Repeat("ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", l).Select(s => s[r.Next(l)]));
Console.WriteLine(randomString(5));
Lotta blood to let, peace to make, give a fuk about a check
|