Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Write ANSI strings to a text file line by line
VB.NET Example Source Code to write ANSI strings to a text file line by line Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim sw As New StreamWriter("myText.txt")
' Write ANSI strings to the file line by line...
sw.Write("Hello ")
sw.WriteLine("World!")
' WriteLine writes a CRLF at the end of each line.
sw.WriteLine("This is the 2nd text line!")
' ...
sw.Close()
End Sub
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.