Way to save font and color?

Lanc1988

Well-known member
Joined
Nov 27, 2003
Messages
508
I am using the font and color controls on a form I call Notepad, I am using the following code to be able to save the text entered in the notepad but it doesnt save font or color:


Code:
        On Error Resume Next
        Save in File Menu
        Dim FileWriter As New System.IO.StreamWriter(Application.StartupPath & "\Sidekick Files\Notepad.txt")
        FileWriter.WriteLine(TextBox1.Text)
        FileWriter.Flush()
        FileWriter.Close()
 
Back
Top