I have folders that I want to copy to the server , folders contain HTML and word documents and RTF as well as Images I need to copy the folders but remove from them automatically the word and rtf files any help with that ?
the code below I wrote will copy the folder as it is :
any help please ?
the code below I wrote will copy the folder as it is :
Code:
With FBD
.RootFolder = Environment.SpecialFolder.Desktop
.SelectedPath = "C:\windows"
.Description = "Select Data Folder Source"
If .ShowDialog = DialogResult.OK Then
MessageBox.Show("You have selected " & .SelectedPath)
End If
Try
My.Computer.FileSystem.CopyDirectory(.SelectedPath, "\\SERVER\demo", FileIO.UIOption.AllDialogs)
Catch F As Exception
MsgBox(F.Message.ToString)
End Try
End With
Comment