|
-
Jan 20th, 2002, 12:59 PM
#1
Thread Starter
Addicted Member
ascii numbers to letters???
Does anyone know how to convert ascii numbers into letters. I'm having trouble because what might be 152 could also be read as 15 and 2, or 1 and 52 etc.
-
Jan 20th, 2002, 01:03 PM
#2
-
Jan 20th, 2002, 01:07 PM
#3
Thread Starter
Addicted Member
I mean if I have a txt file with ascii numbers in I want to be able to convert the numbers into their characters.
-
Jan 20th, 2002, 01:09 PM
#4
Need-a-life Member
VB Code:
Debug.Print Chr$(64)
'This will print "@" in the Immediate window. (without the quotation marks)
Last edited by Mc Brain; Jan 20th, 2002 at 01:14 PM.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Jan 20th, 2002, 01:14 PM
#5
Thread Starter
Addicted Member
What I mean is if I had a txt file with "1635274658365857" in it how could I change them into characters, because vb could interpret what should be 163 as 16 and 3.
-
Jan 20th, 2002, 01:16 PM
#6
-
Jan 20th, 2002, 01:19 PM
#7
Need-a-life Member
If you want to save them all together, save them as an octets (lie the IPs). Instead of this 1635274658365857 save this in the text file: 016035002074065083065008057
This would lead you to the numbers 16, 35, 2, 74, 65, 83, 65, 8, 57....
see the difference?
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Jan 20th, 2002, 01:25 PM
#8
Thread Starter
Addicted Member
On the subject of txt files do you know how to search for 1 string in a txt file (to enable a pause function when doing large operations on strings on txt files). If I could do this I could put the string currently being read into another txt file and search for that string next time I start the App.
-
Jan 20th, 2002, 03:06 PM
#9
-
Jan 20th, 2002, 03:15 PM
#10
Hyperactive Member
-
Jan 20th, 2002, 03:26 PM
#11
Lively Member
the Instr() Function searches for a string with in a string
and as mentioned above you should use a denoter of some kind to keep your numbers in check and then use the CHR() function to change them into their ASCII Characters
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
|