Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Private Sub btnNormalizar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNormalizar.Click Dim sourceDir As String = txtOrigen.Text Dim backupDir As String = txtDestino.Text Try Dim docList As String() = Directory.GetFiles(sourceDir, "*.*", SearchOption.AllDirectories) ' Copy doc files. For Each f As String In docList 'Remove path from the file name. Dim fName As String = f.Substring(sourceDir.Length + 1) ' Use the Path.Combine method to safely append the file name to the path. ' Will overwrite if the destination file already exists. File.Copy(Path.Combine(sourceDir, fName), Path.Combine(backupDir, fName), True) Next For Each f As String In docList File.Delete(f) Next Catch dirNotFound As DirectoryNotFoundException Console.WriteLine(dirNotFound.Message) End Try MsgBox("Done!") End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Change Locale for Crystal Reports Dynamically in VB.Net 2010 Winforms.||3||59|
|VB.NET - Refactor Class per SOLID principles||2||43|
|Read oracle BLOB in vb.net||2||24|
|Help with adding xml file as datasource in MS Report||8||23|
Join the community of 500,000 technology professionals and ask your questions.