trewq343

Untitled

Jun 18th, 2012
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Private Sub tmrInjector_Tick(sender As System.Object, e As System.EventArgs) Handles tmrInjector.Tick
  2. If LaunchToolStripMenuItem.Text.StartsWith("Waiting for ") Then
  3. Dim process() As Process = System.Diagnostics.Process.GetProcessesByName(ProcessName)
  4. Dim DllLocation As String = Path.ToString.Replace(vbLf, "")
  5.  
  6. If process.Length <> 0 Then
  7. tmrInjector.Stop()
  8. Inject(ProcessName, Path, True)
  9. End If
  10. End If
  11. End Sub
Advertisement
Add Comment
Please, Sign In to add comment