i want to write some ascii codes to a .txt file and i opened
eo.txt" for it ,it was working fine but there is a problem:
some ascii charactars like ☺ ☻ ♥ ♦ ♣ ◘ are presented with ???with a little
aquare instead of these! i noticed it's because i save the file as Ansi,
i know in the saving dialog i can change it to Unicode but how can i do this in Vb?
check this code out:
Private Sub Command1_Click()
eo.txt" For Output As #1
For i = 1 To 255
If Chr(i) <> "" And i <> 160 Then Print #1
as you see there is now saving dialog and all the saving process is done
by clicking on command1. now what should i do to save it as unicode?
0 · ·