24-11-12, 10:57 PM
السلام عليكم
تفضلي الكود بعد التعديل:
تفضلي الكود بعد التعديل:
PHP كود :
Dim path As String = ("d://lara/" & TextBox2.Text & " .txt")
If System.IO.File.Exists(path) = False Then
Dim sw As New StreamWriter(path, True, System.Text.Encoding.Unicode)
sw.WriteLine(TextBox1.Text)
sw.Flush()
sw.Close()
End If
