Re: How to use IBM extended ASCII characters in VB6?
- From: "Jim Mack" <jmack@xxxxxxxxxxxxxxx>
- Date: Fri, 9 Mar 2007 11:11:22 -0500
Matt P. wrote:
Hello all,
Can anyone tell me if there is a way to display the extended ASCII
symbols in VB6? I am referring to the happy face, the heart, spade,
single and double lines for drawing borders, etc... So far, I have
only been able to do something like this:
For i = 1 to 255
Print chr(i)
Next i
This yields all the numbers and letters, plus some symbols. But there
must be some way to get the IBM extended ASCII. I have seen Microsoft
use the single and double-line borders in their apps before...
Any suggestions?
Matt
It's mainly a matter of what font you use for display. Choose a Terminal font or any other one that supports that character set and you should see what you expect.
It's been a while, but I believe this is also known as the "OEM" character set, at least in Western encodings, so you might investigate AnsiToOEMBuffW and similar APIs, to get Unicode codepoints that correspond to the original IBM Extended charset, then use any full Unicode font.
--
Jim Mack
MicroDexterity Inc
www.microdexterity.com
.
- Follow-Ups:
- Re: How to use IBM extended ASCII characters in VB6?
- From: Matt P.
- Re: How to use IBM extended ASCII characters in VB6?
- References:
- How to use IBM extended ASCII characters in VB6?
- From: Matt P.
- How to use IBM extended ASCII characters in VB6?
- Prev by Date: How to use IBM extended ASCII characters in VB6?
- Next by Date: Re: save local variable as global
- Previous by thread: How to use IBM extended ASCII characters in VB6?
- Next by thread: Re: How to use IBM extended ASCII characters in VB6?
- Index(es):
Relevant Pages
|