F
fabian
Hi,
I've got this code:
Dim fo As File
Dim swriter As StreamWriter
swriter = fo.CreateText("c:\prueba.txt")
swriter.Write("this is a test")
swriter.Close()
I'd like to generate this text file choosing the encoding or codepage that I
want. Is there any class I can use to do it?I've tried with 'Encoding'
class, but I don't know how to use it to generate the file with the encoding
I want.
thanks.
I've got this code:
Dim fo As File
Dim swriter As StreamWriter
swriter = fo.CreateText("c:\prueba.txt")
swriter.Write("this is a test")
swriter.Close()
I'd like to generate this text file choosing the encoding or codepage that I
want. Is there any class I can use to do it?I've tried with 'Encoding'
class, but I don't know how to use it to generate the file with the encoding
I want.
thanks.