' 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
![VP Climate](https://www.devx.com/wp-content/uploads/VP-Climate-300x171.jpg)
![VP Climate](https://www.devx.com/wp-content/uploads/VP-Climate-300x171.jpg)