E
ElmoWatson
I need to get the list of files, in a multi-select OpenFileDialog,
formatting the list for my purposes (adding to an array)
I can't seem to grasp the syntax - - here's part of what I've tried, after
creating two variables (s and sList):
Dim sList as String() '< - array I want to use
Dim ofd As New OpenFileDialog
For Each s In ofd.FileNames
' what do I put here to add the item in the array?
Next
or, is it an array anyway? If so, I do I access it?
I just need to pass an existing array to another method, using the filenames
in the OFD
formatting the list for my purposes (adding to an array)
I can't seem to grasp the syntax - - here's part of what I've tried, after
creating two variables (s and sList):
Dim sList as String() '< - array I want to use
Dim ofd As New OpenFileDialog
For Each s In ofd.FileNames
' what do I put here to add the item in the array?
Next
or, is it an array anyway? If so, I do I access it?
I just need to pass an existing array to another method, using the filenames
in the OFD