Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·