From: Rick on
I have a client who is wanting data cleansing on their incoming file. One of
the things they are wanting is for us to check for Special Characters, I am
able to check for most but there are a few that I am unable to figure out
how to check for, mostly the Alt+Keypad charcters such as Alt+1:?, Alt+2?,
Alt+3: ? etc..

Can anyone tell me how to check for these characters reading in a text file
using VB.net?

Thanks in Advance!

Rick


From: Leo on
Rick formulated on Monday :
> I have a client who is wanting data cleansing on their incoming file. One of
> the things they are wanting is for us to check for Special Characters, I am
> able to check for most but there are a few that I am unable to figure out how
> to check for, mostly the Alt+Keypad charcters such as Alt+1:?, Alt+2?, Alt+3:
> ? etc..
>
> Can anyone tell me how to check for these characters reading in a text file
> using VB.net?
>
> Thanks in Advance!
>
> Rick

Plese use the msdn forums as this is a vb6 and older NG.

--
ClassicVB Users Regroup! comp.lang.basic.visual.misc
Free usenet access at http://www.eternal-september.org


From: Cor on
Try it in this forum

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/threads?page=1

And ask for ASCII Encoding, be aware that these characters are for every
keyboard setting different.

ASCII is only 7 bits. Extended ASCII is a name IBM gave to the 437 code set,
normally on modern Windows computer is the 1252 codeset used. (West European
languages).

?

Cor

"Rick" <rick.femmer(a)fiserv.com> wrote in message
news:Obw75cBLLHA.1740(a)TK2MSFTNGP06.phx.gbl...
> I have a client who is wanting data cleansing on their incoming file. One
> of the things they are wanting is for us to check for Special Characters,
> I am able to check for most but there are a few that I am unable to figure
> out how to check for, mostly the Alt+Keypad charcters such as Alt+1:?,
> Alt+2?, Alt+3: ? etc..
>
> Can anyone tell me how to check for these characters reading in a text
> file using VB.net?
>
> Thanks in Advance!
>
> Rick
>
>
From: Stan Weiss on
Are you talking about holding down the Alt key and typing in a 1 2 or 3
digit number on the numeric keypad and what characters it produces?
Like on my keyboard
Alt + Keypad 78 = N
Alt + Keypad 99 = c

Stan



Rick wrote:
>
> I have a client who is wanting data cleansing on their incoming file. One of
> the things they are wanting is for us to check for Special Characters, I am
> able to check for most but there are a few that I am unable to figure out
> how to check for, mostly the Alt+Keypad charcters such as Alt+1:?, Alt+2?,
> Alt+3: ? etc..
>
> Can anyone tell me how to check for these characters reading in a text file
> using VB.net?
>
> Thanks in Advance!
>
> Rick