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

12-22-2012, 05: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.

12-22-2012, 07: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

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

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