as topic, i wan to create a normal save function to save the content of a richtextbox to a normal text file, anyone can provide the coding? any help is greatly appreciated...
as topic, i wan to create a normal save function to save the content of a richtextbox to a normal text file, anyone can provide the coding? any help is greatly appreciated...
Import the namespace System.IO using Imports System.IO Dim fs As FileStream = New FileStream("c:\temp.txt", FileMode.Create) Dim strText As String = rtfMyTextbox.Text.ToString Dim fw As StreamWriter = New StreamWriter(fs) fw.Write(strText) fw.Close() fs.Close()