I am a beginner programmer and I am currently looking for a way to load texts from an ANSI encrypted file to a `RichTextBox` in my form. Also, I am looking for a way to save it back to the file with ANSI encryption. 

This is what am I am currently trying:

```
Imports System
Imports System.IO
Imports System.Text

Dim strResult As String
Using SR As StreamReader = New StreamReader("startup_config.cfg", Encoding.Default)
    strResult = SR.ReadToEnd
End Using

```