' Validate a system path' Example:' MessageBox.Show(IsValidPath("C:TestMemo.txt")) ' => True' MessageBox.Show(IsValidPath("\RemotePCTestMemo.txt")) ' => True' MessageBox.Show(IsValidPath("C:TestMem|o.txt")) ' => FalseFunction IsValidPath(ByVal path As String) As Boolean Try Dim f As New System.IO.FileInfo(path) Return True Catch e As Exception Return False End TryEnd Function

