Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Read utf-8 File and Display in TextBoxVB.NET Example Source Code to read a utf-8 text file and display in a text box. ' Load a utf-8 text file into a string and display it.
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim sr As New StreamReader("myUtf8.txt", System.Text.Encoding.UTF8)
TextBox1.Text = sr.ReadToEnd()
sr.Close()
End Sub
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2007 Chilkat Software, Inc. All Rights Reserved.