Dim dlg As New OpenFileDialog
dlg.Filter = "Word文件|*.doc"
dlg.MultiSelect = True
If dlg.ShowDialog = DialogResult.OK Then
Dim files() As String = dlg.FileNames '注意此句代码不能上句代码互换位置.
Dim fb_dlg As New FolderBrowserDialog '定义文件夹对话框
If fb_dlg.ShowDialog = DialogResult.OK Then
For Each file As String In files
FileSys.CopyFile(file,fb_dlg.SelectedPath & "\" & FileSys.GetName(file),True)
Next
End If
End If
以上代码更具有通用性。