This is going to be hard to explain but i will do my best.
Ok, i have 5 textboxes and beside those 5 text boxes i have 5 command buttons . When a button is pressed another form pops up with File1 Dir1 and Drive1 boxes in place. When a user selects a file, the file name and path go to the text box that the button was beside. But my problem is that...i don't want to have 5 forms that look and act exactly alike. So i was wondering how should i go about using one form and be able to select files for each of those text boxes.
Maybe the screen shot will explain it better.
http://dim.clan2rw.com/program.gif

Thank you,
D!m
ps. I think i would have to store the selected file as a var, but i just have too much code in my head to figure out how.