-
Feb 16th, 2003, 02:00 PM
#1
Thread Starter
Frenzied Member
chr i need a comma
i made a program to show all the chr code and meanings from 0 to 300. i found 2 command but none seem to work right when i save it to a text file and open in another editor.
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Feb 16th, 2003, 02:18 PM
#2
PowerPoster
you'll need to post code if you expect anyone to help you.
chr codes don't GO to 300, only to 255
-
Feb 16th, 2003, 02:39 PM
#3
Thread Starter
Frenzied Member
i dont know why i need to post code if all im asking for it the int to
the (") chr like
chr(147)
but it dont work right. i use :
Code:
Private Sub Command1_Click()
On Error Resume Next
Dim i As Integer
For i = 0 To 300
Dim chrC As String
chrC = i & " = " & Chr(i)
List1.AddItem chrC
Next i
End Sub
Private Sub List1_Click()
Dim sI As Integer, sS As String
sI = List1.ListIndex
sS = Chr(sI)
Text1.Text = sS
End Sub
to display them all. i get them all ok but i try to write acomma to a file and it dont work. i just want to know how to write a comman to a file . how can i do this?
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Feb 16th, 2003, 03:11 PM
#4
Where exactly do you want to add the comma?
-
Feb 16th, 2003, 03:58 PM
#5
Thread Starter
Frenzied Member
ok i guess i didnt explain well. Im writeing to a file using another vb project. I want to write a ( " ) to the file.
like
Code:
Dim C As String
C = Chr(148)
Print #OutFile, C & " " & Text1 & " " & C & ", "
but when i use 148 it shows a little black block when i open in a text editor.
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Feb 16th, 2003, 04:59 PM
#6
Thread Starter
Frenzied Member
So can anyone tell me how to write a comma " to a text file?
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Feb 16th, 2003, 05:03 PM
#7
Thread Starter
Frenzied Member
thanks anyway i found out i was on the wronge font and it is 34 on font
MS SANS SERIF
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Feb 16th, 2003, 05:04 PM
#8
The picture isn't missing
.... isn't a comma (,) not (")?
"=quote
,=comma
quote: chr(34)
comma: chr(44)
Remember, if someone's post was not helpful, you can always rate their post negatively .
-
Feb 16th, 2003, 05:16 PM
#9
Thread Starter
Frenzied Member
dam i feel slow lol mixed up words dam me
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
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
|