Advertisement
GreyPhantom

[Icon Changer] Browse Button

Sep 29th, 2014
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.27 KB | None | 0 0
  1. OpenFileDialog1.DefaultExt = "exe"
  2.   OpenFileDialog1.Filter = "exe files (*.exe)|*.exe"
  3.   OpenFileDialog1.FilterIndex = 1
  4.   If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then
  5.     TextBox1.Text = String.Empty
  6.     TextBox1.Text = OpenFileDialog1.FileName
  7.  
  8.   End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement