Problems using FileListBox Control in VS 2005?

BlakeMcKenna

Active member
Joined
Oct 27, 2008
Messages
38
Programming Experience
10+
I know we're not supposed to use the FLB in .Net, however, I have a specific need for it. I'm also having a slight problem with it. I have a form that contains a TAB Control. This Tab consists of 4 TagPages. One of these TabPages (the 4th one) has a FLB control on it. This control gets loaded based on a value that a user selects from a pre-filled ComboBox. Once the FLB is loaded the user may select as many files as they wish. My problem occurs when the user goes back to the initial TabPage and then goes right back to the 4th TabPage and selects the same value from the same FLB. This time...the FLB doesn't populate. Do I need to reinitialize the FLB? What am I missing?

Thanks for your help!

Blake
 
You can set Path to a different valid path and then back again to make it load the file names again.
I answered this recently about updating a FileListbox to same path, I still don't know better.
 
Back
Top