絶対パスか相対パスかを判定する
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If System.IO.Path.IsPathRooted("C:\test.txt") Then
MessageBox.Show("絶対パスです。")
Else
MessageBox.Show("相対パスです。")
End If
End Sub
End Class