Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub tmrInjector_Tick(sender As System.Object, e As System.EventArgs) Handles tmrInjector.Tick
- If LaunchToolStripMenuItem.Text.StartsWith("Waiting for ") Then
- Dim process() As Process = System.Diagnostics.Process.GetProcessesByName(ProcessName)
- Dim DllLocation As String = Path.ToString.Replace(vbLf, "")
- If process.Length <> 0 Then
- tmrInjector.Stop()
- Inject(ProcessName, Path, True)
- End If
- End If
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment