Hello, this is my first post in this form![]()
I have a question i am not sure can be answered. I am very new to visual basic and have just started studying it in A Level Computing (UK). Basically our teachers a bit of a nob and dont help us because he cant...![]()
Anyway.. I am currently building a program for my final project. Its a league table ( the usual 3 points for a win 1 for a draw etc ) like football (soccer) etc.
The table has a text file where the program picks up the team names etc and has them printed out on a picture box. I then go to my fixtures section of the program and process a fixture which updates the text file and the picture box accoring to who won (will give winners 3 points etc).
I then have a table updated perfectly everything going right on the picture box but i do not know if i can arrange the points by highest (have the team with the most points at the top lowest at the bottom). In the text file the teams are lined up like this...
Arsenal
0
0
0
0
0
Chelsea
1
0
1
0
1
Man Utd
0
0
0
0
0
Liverpool
3
0
3
0
3
Tottenham
3
0
3
0
3
Wigan
0
0
0
0
0
Bolton
1
0
1
0
1
Man City
0
0
0
0
0
Blackburn
0
0
0
0
0
West Ham
0
0
0
0
0
Charlton
0
0
0
0
0
Fulham
0
0
0
0
0
Newcastle
0
0
0
0
0
Everton
0
0
0
0
0
Aston Villa
0
0
0
0
0
West Brom
0
0
0
0
0
Middlesboro
0
0
0
0
0
Portsmouth
0
0
0
0
0
Birmingham
0
0
0
0
0
Sunderland
0
0
0
0
0
As you can see some have been updated..
the first zero repesents Games Played
the second Games Won
third Games Drawn
fourth Games Lost
fifth Points...
Its the fifth zero that i need arranged..
This is what this looks like printed on the picturebox...
CLICK HERE
Im sorry if this is hard to understand but i am very new as im sure many people are on here.
Thanks Alot for anytime you spend on trying to answer this question.
Moka




Reply With Quote