Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'Open a Rich Text File:
  2. Try
  3. Dim dlg As OpenFileDialog = New OpenFileDialog
  4. dlg.Title = "Open"
  5. dlg.Filter = "Rich Text Files (*.rtf)|*.rtf"
  6. If dlg.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
  7. RichTextBox1.LoadFile(dlg.FileName)
  8. End If
  9. Catch ex As Exception : End Try
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement