I'm new to VB.net and i wanted to find out how i could load the names of files(in a specified dir) into a combobox?
I knw i should have posted code..but i only have an idea as to what should happen.
correct me where i'm wrong.
1. get the number of files in specified dir
2. add names of files as items in combobox (using a loop structure)
3. when an item is selected. display the contents in a textbox
my idea in pseudocode:
for counter = 0 to numberOfFiles
if (combobox.selectedItem = fileName)
display Contents in Textbox
thnx in advance.