Hi
Member 11721323
,
Rather than using "A"c, "a"c etc.,
use Asc("A")
.
E.g.:
ElseIf (c >= Asc("0") AndAlso c <= Asc("9")) OrElse ......................
.........................................................................
This is because in C# character types are automatically casted implicitly, in VB.NET an explicit cast (conversion, to be precise) is required.
Asc
converts the character to its ASCII equivalent.