Advertisement
datatheoz

RichTextBox Save To File

Sep 30th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.23 KB | None | 0 0
  1. Imports System.IO
  2. Imports System.Runtime.CompilerServices
  3.  
  4. Module Eazy
  5.     <Extension>
  6.     Public Sub SaveAsTextfile(rtb As RichTextBox, strPath As String)
  7.         File.WriteAllLines(strPath, rtb.Lines)
  8.     End Sub
  9. End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement