03-10-12, 12:49 AM
كاتب الموضوع : جهاد العريقي
اجراء للكتابة الى ملف نصيكود :
Public Sub WriteTextToFile(ByVal Filename As String, ByVal Text As String)
' Writes the passed Text into the specified file
' Create file and StreamWriter object
Dim MyWriter As System.IO.StreamWriter = _
System.IO.File.CreateText(Filename)
' Write text to the stream
MyWriter.Write(Text)
' Close the stream
MyWriter.Close()
End Sub