Return to Snippet

Revision: 18296
at September 27, 2009 18:43 by brandonio21


Initial Code
On Error GoTo E
        Dim openit As New OpenFileDialog
        openit.ShowDialog()
        Dim readit As New System.IO.StreamReader(openit.FileName)
        RichTextBox1.Text = readit.ReadToEnd
        readit.Close()
Exit sub
E:
End sub

Initial URL

                                

Initial Description

                                

Initial Title
Vb2008 Open File

Initial Tags
file

Initial Language
VB.NET