M
Malakie
Hi all,
I am trying to self teach VB .net to myself. Not sure what is worse, trying
to accomplish this or thinking I can actually do it! ;-)
Anyhow, Would someone be able to give me some example VB net code that would
create buttons on a form dynamically for each drive (cd or HD or virtual
etc) found on a system; labeling each created button with one of the found
drive letters. It would also need to remove said button if the drive was
disconnected say in the case of an external usb drive and of course add
buttons as drives are added.
I have been researching this and trying everything I can on my own and am
getting no where fast. Basically I creating a index program for myself as
a learning project but am stuck at trying to figure out how to do this
function. If someone could give me some code that does this that I can
learn from and modify, play with etc, it would be most appreciated.
Thanks.
I am trying to self teach VB .net to myself. Not sure what is worse, trying
to accomplish this or thinking I can actually do it! ;-)
Anyhow, Would someone be able to give me some example VB net code that would
create buttons on a form dynamically for each drive (cd or HD or virtual
etc) found on a system; labeling each created button with one of the found
drive letters. It would also need to remove said button if the drive was
disconnected say in the case of an external usb drive and of course add
buttons as drives are added.
I have been researching this and trying everything I can on my own and am
getting no where fast. Basically I creating a index program for myself as
a learning project but am stuck at trying to figure out how to do this
function. If someone could give me some code that does this that I can
learn from and modify, play with etc, it would be most appreciated.
Thanks.