|
-
Oct 11th, 2007, 02:52 PM
#1
Re: [2005] Validating Path
Here's one to try to see if it will work for you
Code:
If IO.Path.IsPathRooted(newPath) Then
-
Oct 11th, 2007, 03:43 PM
#2
Addicted Member
Re: [2005] Validating Path
I'd be tempted to follow the spec - but as a "free of charge enhancement", put a button next to the TextBox to allow you to open the folder browser dialog, and once the user has chosen their folder, populate the TextBox with the result of the browser dialog .... and also use Stimbo's suggestion at post #6.
-
Oct 11th, 2007, 04:11 PM
#3
Thread Starter
Hyperactive Member
Re: [2005] Validating Path
 Originally Posted by bgmacaw
Code:
If IO.Path.IsPathRooted(newPath) Then
Same situation. The common problem for all the methods cited is that the colon is recognized as a valid character for the path.
And it IS valid. But only as the second character.
And thanks, penguin. She's more likely to go for that than the other one!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|