|
-
Feb 11th, 2001, 02:18 PM
#1
Thread Starter
Addicted Member
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.
Is it tired in here or is it just me?
Ryan Williams
-Using Vb6-
-
Feb 11th, 2001, 02:23 PM
#2
Look up "ASCII" in your help file.
-
Feb 11th, 2001, 02:35 PM
#3
Hyperactive Member
or do a search on this site for "ascii"
-
Feb 11th, 2001, 02:40 PM
#4
Fanatic Member
Character map
You can also use the character map built into windows.
Also there are 256 combinations remember that it is 0-255.
-
Feb 11th, 2001, 03:33 PM
#5
Thread Starter
Addicted Member
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)).
Is it tired in here or is it just me?
Ryan Williams
-Using Vb6-
-
Feb 11th, 2001, 03:37 PM
#6
Fanatic Member
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.
-
Feb 11th, 2001, 03:58 PM
#7
Thread Starter
Addicted Member
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."
Is it tired in here or is it just me?
Ryan Williams
-Using Vb6-
-
Feb 11th, 2001, 04:14 PM
#8
Monday Morning Lunatic
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?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 11th, 2001, 05:05 PM
#9
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|