Generating Random Number and String in VB.NET
The Random class defined in the .NET Framework class library provides functionality to generate random numbers. This article shows you how you can use this class to generate random numbers and strings and even combination of both.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Generating Random Number and String in VB.NET
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

mohammad dehghaniPosted Jul 14, 2011, 3:54 AM
Hi Please help me how can i write a program that generate password that does not contain &(()$#@?><}{": or something else Thanks
anamika saxenaPosted Mar 23, 2011, 1:30 PM
how can i generate random numbers following certain distribution in visual basic 2008.please help me..... thanks in advance....
Amanda RuddockPosted Mar 21, 2010, 5:04 PM
i need to create a number using the computers date/time (to the second) So it can be used as a security number, how can this happen?
Stephen DmytriwPosted Nov 17, 2009, 12:13 PM
Thanks! This is what I needed! : )
Bongekile MshweshwePosted Sep 26, 2009, 7:26 AM
How can one create a random number of ten numbers with the first three number similar?
raaghav nayakPosted Jan 13, 2009, 11:15 PM
Thank yu so much