Message 1 of 3
path.Getfullpath

Not applicable
08-22-2013
05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dim filename As String = "Test.txt"
Dim fullPath As String
fullPath = Path.GetFullPath(filename)
MsgBox("GetFullPath('{0}') returns '{1}'", _
filename, fullPath)
i try it but it has error on ((MsgBox("GetFullPath('{0}') returns '{1}'", filename, fullPath)))
Conversion from string "Desktop\Layer Data\Test.txt" to type 'Integer' is not valid.
i want to get the path of the test.txt
what can i do