Hi!!
Is it possible to copy multiple files without having to make use of a loop.
Right now the only way I know to copy multiple files is to loop through them like:
vb.net Code:
Dim Files As New List (Of String) Files.AddRange(OPD.FileNames) For a as Integer = 0 To Files.Count - 1 My.Computer.FileSystem.CopyFile(Files(a), "C:\APath\") Next
Is there a way like:
(OPD is an openfiledialog)vb.net Code:
Dim Files As New List (Of String) Files.AddRange(OPD.FileNames) My.Computer.FileSystem.CopyMultipleFile(Files, "C:\APath\")




Reply With Quote