I just tried this exact code on Windows 7 x64 with Visual Studio 2010 and got the expected value of 128. I tried the mix options (Infer, explicit, etc ...) and the value remains the same. Can you provide more details to track this?
Sub Main() Dim TestChar = Chr(128) Dim CharInt = Asc(TestChar) Console.WriteLine(CharInt) Stop End Sub
source share