-
I'm not sure that's how I should have worded the subject- I want to know what all the different Chr$(whatevers) are, how many of them there are (I'm guessing 255), and what different combinations there are. Or are there any true combinations? VbCrLF is supposedly chr$(13) + chr$(10) but is that really a combination or is just a way of saying vbCR and then vbLf? Babble babble babble, thanks for any help.
-
Look up "ASCII" in your help file.
-
or do a search on this site for "ascii"
-
Character map
You can also use the character map built into windows.
Also there are 256 combinations remember that it is 0-255.
-
The character map only has 224 of them on there, and by "combinations" I meant like VbCrLf how it is two of them put together (Chr$(13) + Chr$(10)).
-
It only has that many because it doesn't include the systm keys but like they said earlier the help might help you i'm sorry i don't have the answer you a re looking for.
-
It's the thought that counts. Anyway, the help did help and I think I've got what I need now. It was under "character set."
-
This is probably irrelevant and possibly wrong...but it seems like a good thread to ask in :)
If 32-bit VB is supposed to use Unicode, then does it give the proper results if you put numbers greater than 255 into Chr$()?
Anyone with a non-English version of Windows tried this?
-
to list all ascii characters try this:
Code:
Private Sub ListCharacters()
Dim i as Byte
For i = 0 to 255
Debug.Print Chr$(i) & " = " & Str$(i)
Next i
End Sub