...

View Full Version : How do i make my groupbox1 generate a count on visual basic 2010?



bigcasey123
12-22-2012, 04:43 PM
I want my groupbox to start a count whenever i import my txt file (contains usernames and passwords) but i need it to count 1 ever two lines (because the username is one line and the password is the second line.) So how do i do this? I already made the text "Account [0]" so now i just need it to start counting every two lines.

bigcasey123
12-22-2012, 06:17 PM
Ok so i got it to count but for some reason it counts ever letter and not the words! how do i fix this? my code

Try
GroupBox1.Text = String.Format("Accounts [ " & TextBox2.Text.Count & " ]")
Catch ex As Exception
End Try

tempz
12-31-2012, 04:25 AM
Take a look at: http://www.youtube.com/watch?v=ow1RV5lBYxM



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum