i am currently writing an audio program in vb 6.
i want it to be stand alone (no databases).
i have my music sorted in the following:
d:\music .....in this directory i have all the artist names
d:\music\artistname....in this directory i have all the album names
d:\music\artistname\albumname .....in this directory are the tracks
currently i am using classes for each of the above, however it is a mess. Should i use a hashtable or some sort of collection object for this.
i am currently getting the artist, album, track info by iterating through the directories.
on my search form i have a text field for the search criteria and i want to search on artist name or album name or track name.
when search is done i am displaying results in a flexgrid and i want the user to be able to click on an indivual track, album (get all tracks in order), or artist(get all albums) and then add to a playlist. which i will then pass to winamp. i've written this in access but attempting to do it in vb is proving to be a little tricky.
i would also like to sort the flexgrid data alphabetically as in:
artists, albums, sequencial order for tracks. eg.
also i have adopted the naming coventions of tracks as in:
artists and albums the same as far as no spaces, instead using underscores.
should i use hashtables?
i need all info to be relational like in a database as in
artists, albums, tracks tables except staying away from using a database.
hope this give a fair idea of what i want to achieve.
any thoughts / suggestions on how i should approach this problem would be greatly appreciated.