Hey Everybody
I am putting together a program to store and play back my cd collection. I have 3 listboxes. The first is populated with Artist's names. When the user clicks on an artist name, a second list box displays albums by that artist. when the user clicks an on an album name a 3'rd listbox displays song titles from the album
when I populate the Artist list box I use a ado recordset and a let call inside a class to get the data from a data base. I then immediately use a get call to place the Artist name into the listbox. I repeat this process until all artists names appear in the listbox
My question?
Why bother to use classes, why not just take the Artist name striaght from the database and use the listbox.additem feature to fill the listbox
any responces on why classes are needed would be great thanks
I am putting together a program to store and play back my cd collection. I have 3 listboxes. The first is populated with Artist's names. When the user clicks on an artist name, a second list box displays albums by that artist. when the user clicks an on an album name a 3'rd listbox displays song titles from the album
when I populate the Artist list box I use a ado recordset and a let call inside a class to get the data from a data base. I then immediately use a get call to place the Artist name into the listbox. I repeat this process until all artists names appear in the listbox
My question?
Why bother to use classes, why not just take the Artist name striaght from the database and use the listbox.additem feature to fill the listbox
any responces on why classes are needed would be great thanks