Home > Mobile >  Illegal characters in Path exception in vb.net
Illegal characters in Path exception in vb.net

Time:12-22

I am trying to debug code by providing some details related to address. When I give address like (83 S BROADVIEW ST) I am not getting the exception, but when I give like (1051 N DAY MIAR RD) I am getting the following exception:

System.ArgumentException : Illegal characters in Path

Any ideas why one address might be okay and the other not?

CodePudding user response:

The second address has a tab character rather than spaces between 1051 and N. If you are using this address as part of a file or directory name, or any of the built in methods meant to work with file or directory names, that tab character is not allowed.

  • Related