Title says it all, I'm having some trouble iterating through an arraylist I've made (songs) and removing a specific song once it's been found. I've confirmed that the locations are correct and have tried manually entering in a song's location to no avail.
Sub delete(location As String)
Dim tempS As Song
For Each tempS In songs
If tempS.getLocation().toLower().Equals(location) Then
songs.Remove(tempS)
End If
Exit For
Next
End Sub
This project is still very much in its beginning stage and the only thing a song has associated with itself is it's stored location (ei C:\Music\Albums\Once\Nemo.mp3). Many thanks!