|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Does anybody knows why the function chrw(204) returns different character in
vb6 and in vb.net ??? thanks in advance Usign the same font ? Have you checked that AscW returns the same code ?
For now I'm unable to repro this... -- Patrice "Nikos Tsoupros" <n**@imprvove.gr> a écrit dans le message de news: %23nr5IjnfGHA.4***@TK2MSFTNGP05.phx.gbl...Show quoteHide quote > Does anybody knows why the function chrw(204) returns different character > in vb6 and in vb.net ??? > thanks in advance > On the same computer?
This has very much to do with the used code table. General http://www.microsoft.com/globaldev/reference/cphome.mspx OS systems http://www.microsoft.com/globaldev/reference/oslocversion.mspx I hope this helps a little bit? Cor Show quoteHide quote "Nikos Tsoupros" <n**@imprvove.gr> schreef in bericht news:%23nr5IjnfGHA.4776@TK2MSFTNGP05.phx.gbl... > Does anybody knows why the function chrw(204) returns different character > in vb6 and in vb.net ??? > thanks in advance > "Nikos Tsoupros" <n**@imprvove.gr> schrieb: I am not able to see any difference between the characters returned by the > Does anybody knows why the function chrw(204) returns different character > in vb6 and in vb.net ??? function in VB6 and VB.NET. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Nikos,
In addition to the other comments: How are you deciding they return different characters? Are you seeing something different on a Window? Are you certain you are using the same fonts? Are you seeing something different in a file? Are you certain you are using the correct encoding? Are you seeing something different in the output window? Are you certain this is not a fluke of the output window. Are you using Asc to get the ordinal value of the Char? You really need to use AscW instead, as Asc returns the ANSI char code, while AscW returns the Unicode char code. ChrW accepts a Unicode char code... Can you describe exactly what you are doing that you think they are returning different values. -- Show quoteHide quoteHope this helps Jay B. Harlow [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net "Nikos Tsoupros" <n**@imprvove.gr> wrote in message news:%23nr5IjnfGHA.4776@TK2MSFTNGP05.phx.gbl... | Does anybody knows why the function chrw(204) returns different character in | vb6 and in vb.net ??? | thanks in advance | |
What's the most performant? Fat our smart client?
how to record the contents of a listebox in a text ListView like Thunderbird MDI Form mdiList for experts Login Dialog output data from the result of storedprocedure into excel format 2 small questions File / Folder linking Notify Ballons not working on one PC xml help in VB.net |
|||||||||||||||||||||||