Ugleh's Injector Cancel Error fix

Posts 1–3 of 3 · Page 1 of 1
Ugleh's Injector Cancel Error fix
Some people used my injector and I forgot to fix a bug, when you press Cancel for a DLL, it errors. Here is the fix.

Put
Code:
On Error Resume Next
In the Textbox click for your text boxes, and example would be

Code:
Private Sub TextBox3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox2.Click
        On Error Resume Next
        OpenFileDialog2.Filter = "DLL (*.dll) |*.dll|(*.*) |*.*"
        OpenFileDialog2.ShowDialog()
        Dim FileName2 As String
        FileName2 = OpenFileDialog2.FileName.Substring(OpenFileDialog2.FileName.LastIndexOf("\"))
        Dim DllFileName2 As String = FileName2.Replace("\", "")
        Me.TextBox2.Text = (DllFileName2)
    End Sub
Saw that when i tried it....Good tut btw!
Didn't you post this in your injector thread already o.o
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?