T theazza Member Joined May 20, 2011 Messages 23 Programming Experience 1-3 May 24, 2011 #1 how to read a text file name and write it into a combobox so wen the name is pressed the text in the text files appears in a listbox
how to read a text file name and write it into a combobox so wen the name is pressed the text in the text files appears in a listbox
M MattP Well-known member Joined Feb 29, 2008 Messages 1,206 Location WY, USA Programming Experience 5-10 May 24, 2011 #2 Try breaking it down into smaller parts: 1. Get a list of text file names and display them in a combobox. 2. When a file is selected display its contents. Try getting step 1 done and then move on to step 2. If you get stuck post the code you've got so far and we'll help you from there. Upvote 0 Downvote
Try breaking it down into smaller parts: 1. Get a list of text file names and display them in a combobox. 2. When a file is selected display its contents. Try getting step 1 done and then move on to step 2. If you get stuck post the code you've got so far and we'll help you from there.
T theazza Member Joined May 20, 2011 Messages 23 Programming Experience 1-3 May 25, 2011 #3 thats the part i dont no. what is the code for step one i have absolutely no idea how to u get file names thanks for helping Upvote 0 Downvote
thats the part i dont no. what is the code for step one i have absolutely no idea how to u get file names thanks for helping
M MattP Well-known member Joined Feb 29, 2008 Messages 1,206 Location WY, USA Programming Experience 5-10 May 25, 2011 #4 That's a part we don't know. Where are the files? Are they the same every time? How do you know which ones they are? Upvote 0 Downvote
That's a part we don't know. Where are the files? Are they the same every time? How do you know which ones they are?