|
-
Nov 6th, 2005, 08:50 AM
#1
Thread Starter
Junior Member
[RESOLVED] multiple files
Is there a control that allows you to select multiple files? I am using the openFileDialog control to browse for files, but it only allows me to select one file at a time.
Also, how can i get only the file name from the entire path?
Is there a function similar to PHP's explode(); where i can use \ as a seperator and then get the last value from the returned array, that should be the file name.
Last edited by Triumph; Nov 6th, 2005 at 12:08 PM.
-
Nov 6th, 2005, 09:00 AM
#2
Re: multiple files
*Sigh*... why won't people read? The OpenFileDialog has a Multiselect property and a FileNames property that do just what you'd expect they do. As for the other question, use the IO.Path class to manipulate file paths.
-
Nov 6th, 2005, 09:20 AM
#3
Thread Starter
Junior Member
Re: multiple files
Thanks for the help, that did it.
Last edited by Triumph; Nov 6th, 2005 at 09:24 AM.
-
Nov 6th, 2005, 09:24 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|