Advertisement
Le-Ownect

Open Dialog By Ownect

Aug 21st, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' Lembrar de add um Open Dialog.
  2. ' Developed By Ownect.
  3.  
  4.   OpenFileDialog1.Filter = "Texto | *.txt, .html, .js, .php, .css | Ownect | *.*"
  5.         If (OpenFileDialog1.ShowDialog(Me) = Windows.Forms.DialogResult.OK) Then
  6.             Dim open As New System.IO.StreamReader(OpenFileDialog1.FileName)
  7.             TextBox1.Text = open.ReadToEnd
  8.             open.Close()
  9.         End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement