> Note that 'Chr' uses Windows ANSI. Maybe it's better to use 'ChrW', which
> is Unicode-enabled, instead.
You are completely right. I knew the above, but i didn't think it
mattered. I was thinking ChrW() would return a two byte Char. Which
it does, and so does Chr(), since it's all unicode in VB .NET. Duh.
I still don't understand why it was complaining. I should note that
Chr() does accept 0..255, and I was within that range. So, something
is still wrong here.
But your suggestion works, so thanks!
Zytan
|