hey all..
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
combobox.add(fileName)
next
if (combobox.selectedItem = fileName)
open File
display Contents in Textbox
end if
thnx in advance.
Zikani