Post[Question]Getting the process in textbox

Posts 1–5 of 5 · Page 1 of 1
[Question]Getting the process in textbox
How can I make the text in the textbox1.text (eg. crossfire.exe ) to the process where the selected dll should be injected.
well that is kinda easy


your code may look somthing like this
Code:
Dim TargetProcess As Process() = Process.GetProcessesByName("WarRock")
Replace that with

Code:
Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.text)
Well this is untested but it should work

You may want to add stuf to check if somthing is in the textbox and if it is a correct name (so no .exe at the end no special charecters no stuf like explorer.exe that would fuck up your system if used)


BTW this is realy somthing of the most basic things that you can do you should know stuf like this befor you even try making a injector
Quote Originally Posted by Thats the way it is View Post
well that is kinda easy


your code may look somthing like this
[code]


BTW this is realy somthing of the most basic things that you can do you should know stuf like this befor you even try making a injector
exactly.. ...


and yes that does work
Quote Originally Posted by theavengerisback15 View Post
====
Trying...
its not working?

i think maybe why its not working is because of the error i told you about in your other post.
http://www.mpgh.net/forum/33-visual-...-please-2.html


and btw..in uglehs code. get rid of the

Code:
On Error go to 1
and replace that with

Code:
On Error Resume Next
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us