Faceless Master Posted July 5, 2003 Posted July 5, 2003 Hi, how can i show random alphabats in a text box ? Regards Faceless Master Quote Creativity Beyond Imagination http://www.facelessmaster.tk
Leaders dynamic_sysop Posted July 5, 2003 Leaders Posted July 5, 2003 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim strLetters() As String = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,".Split(",") Dim x As Integer = Int((26) * Rnd() + 1) TextBox1.AppendText(strLetters(x)) End Sub hope thats what your after :) Quote
*Experts* Volte Posted July 5, 2003 *Experts* Posted July 5, 2003 Dim b As Byte = Convert.ToByte(New Random().Next(0, 25)) TextBox1.AppendText(Convert.ToChar(b + 97)) Quote
Faceless Master Posted July 6, 2003 Author Posted July 6, 2003 Cool ; Thnx Quote Creativity Beyond Imagination http://www.facelessmaster.tk
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.