GreyPhantom

[Icon Changer] Change Icon Now Button

Sep 29th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.47 KB | None | 0 0
  1. If TextBox1.Text = "" Then
  2.     MsgBox("Please Pick A File/Executable", MsgBoxStyle.Critical, "Error Changing The Icon")
  3.   End If
  4.   If TextBox2.Text = "" Then
  5.     MsgBox("Please Pick A Icon Format File", MsgBoxStyle.Critical, "Error Changing The Icon")
  6.   End If
  7.   If TextBox1.Text = "" Then Exit Sub
  8.  
  9.   If TextBox2.Text = "" Then Exit Sub
  10.  
  11.   IconInjector.InjectIcon(TextBox1.Text, TextBox2.Text)
  12.   MsgBox("Icon Changed Successfully!", MsgBoxStyle.Information, "Success")
Advertisement
Add Comment
Please, Sign In to add comment