please how can i generate serial numbers like a bank account number from a text box.pls i need ur help i use vb.net

Here is an example of code that will randomize the number and show it in a textbox. I haven't added all of it so that you can learn a little about it as well.

Dim RandomClass As New Random()
        Dim RandomNumber As Integer
        RandomNumber = RandomClass.Next
        TextBox1.Text = RandomNumber

You can also look here:

http://www.winnershtriangle.com/w/VBNetHelp_GeneratingRandomNumbers.asp
and here:
http://articles.techrepublic.com.com/5100-10878_11-5663283.html

try using this code to generate random numbers

Dim a as integer
a = Rnd(10000000) * 10000000000000
textbox1.text= a

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.