Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Write Unicode FileVB.NET Example Source Code to write a string as Unicode to a file. ' Write the string as Unicode (2 bytes per character)
' This also writes the Unicode preamble at the beginning of the file.
Dim appendMode As Boolean = False ' This overwrites the entire file.
Dim sw As New StreamWriter("out_unicode.txt", appendMode, System.Text.Encoding.Unicode)
sw.Write(TextBox1.Text)
sw.Close()
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2007 Chilkat Software, Inc. All Rights Reserved.