Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting Multiple Files From A FileListBox 1

Status
Not open for further replies.

MrVB50au

Programmer
Mar 16, 2003
326
AU
Hi,
I had asked this question in a previous thread, but will rephrase it to be much simplier.

[THE FILE LIST BOX CONTROL]
-------------------------------

When clicking on the first file (in the filelistbox) control, how can I get it to select (Highlight) the rest of the files (that are in the filelistbox) when holding down the Shift Key and clicking on the last file?

Then Click on a command button labelled ADD.

And, when holding down the Ctrl Key, select only files I want to Add?

Thanks,

Andrew.
 
Code:
FileListBox1.MultiSelect = 2

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
Now that worked Great.... Thanks for that!

Now all I need to do is tell it to add the selected files and path to the database.

Thanks again.

Andrew.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top