Author: johnjalani | Posted on: 2/2/2010 8:22:47 PM | Views : 283

Hi, Please help me, i have this website that is doing a copy of files from a shared folder (PC1) to another shared folder (PC2), but i get this problem because the code is copying only the files inside the folder, it just happen that it has some sub folders also. so what i want to do is to copy ALL files and folders. this is my code.
thnx


If (Directory.Exists(sourcePath)) Then PictureBox4.Visible = False Label3.Text = "Searching Directory Path...Done!" For Each fName As String In Directory.GetFiles(sourcePath) PictureBox5.Visible = True Label4.Text = "Processing...." If File.Exists(fName) Then PictureBox5.Visible = False PictureBox6.Visible = True Label5.Text = "File Name Detected: " + fName Dim dFile As String = String.Empty ...

Go to the complete details ...