Hello experts on VB.
Gosh I love this stuff.
I have a project that was never started that I get to take care of and of course they want it in VB.
What this program is a windows based program that takes a .txt file called"EmployeeVotes.txt",
which is inside the project and counts the number of times an employee has been nominated for employee of the month and then displays them in order from greatest to least showing the number of votes and then the employees name in a list box. I have included my code. IT WONT WORK FOR CRUD!!! LOL help please :)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim votes = From line In IO.File.ReadAllLines("EmployeeVotes.txt")
Group line By line Into Count() _
Order By Count Descending
For Each vote In votes
ListBox1.Items.Add(team.line & " (" & team.Count & ")")