I don't arrive to read lines of an UNICODE file in VB6 !!
I try a lot of think, but without succes :
Set fs = CreateObject("Scripting.FileSystemObject"
Set a = fs.OpenTextFile("C:\unicode.txt", ForReading, TristateFalse)
- with the "TristateFalse" parameter to open the file in UNICODE mode
- with the "ReadLine" or "ReadAll" methods and with the use of "StrConv" function,
By example :
StrConv(a.ReadLine, vbFromUnicode)
StrConv(a.ReadLine, vbFromUnicode)
StrConv(a.ReadLine, vbFromUnicode)
...
or
StrConv(a.ReadAll, vbFromUnicode)
The UNICODE file that I would read in VB6 program result of the following command :
msinof32.exe /report C:\unicode.txt /categories +SystemSummary
Thanks a lot,
Thierry
I try a lot of think, but without succes :
Set fs = CreateObject("Scripting.FileSystemObject"
Set a = fs.OpenTextFile("C:\unicode.txt", ForReading, TristateFalse)
- with the "TristateFalse" parameter to open the file in UNICODE mode
- with the "ReadLine" or "ReadAll" methods and with the use of "StrConv" function,
By example :
StrConv(a.ReadLine, vbFromUnicode)
StrConv(a.ReadLine, vbFromUnicode)
StrConv(a.ReadLine, vbFromUnicode)
...
or
StrConv(a.ReadAll, vbFromUnicode)
The UNICODE file that I would read in VB6 program result of the following command :
msinof32.exe /report C:\unicode.txt /categories +SystemSummary
Thanks a lot,
Thierry