HelpInjecting Multiple DLLs

Posts 18 of 8 · Page 1 of 1
Injecting Multiple DLLs
Hey there

I was working in injector but I have little problem I need to make button which when someone click in it Listbox get dll file from resources

I tried to make it like this :

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        timer1.start()
 End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
           Dim Datei As Object = My.Resources.TEST
        ListBox1.Items.Add(Datei)
        dlls.Add("TEST.dll", Datei)
    End Sub
but I'm getting error "Conversion from type 'Byte()' to type 'String' is not valid." in "dlls.Add("TEST.dll", Datei)"

thx
What are you trying to do?
What listbox1 is for and what is dll for?
Quote Originally Posted by OneCa View Post
Hey there

I was working in injector but I have little problem I need to make button which when someone click in it Listbox get dll file from resources

I tried to make it like this :

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        timer1.start()
 End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
           Dim Datei As Object = My.Resources.TEST
        ListBox1.Items.Add(Datei)
        dlls.Add("TEST.dll", Datei)
    End Sub
but I'm getting error "Conversion from type 'Byte()' to type 'String' is not valid." in "dlls.Add("TEST.dll", Datei)"

thx
Quote Originally Posted by DawgiiStylz View Post
What are you trying to do?
What listbox1 is for and what is dll for?
I am trying to make injector for more than one game

for example

3 dlls for 3 games

1st button get the dll from resources for 1st game and put it into listbox
2nd button get the dll from resources for 2nd game and put it into listbox
3rd button get the dll from resources for 3rd game and put it into listbox

thx for help
Instead of using a timer to add in the items into the listbox's, why not use a button instead of a button?
and separate buttons for each game
Quote Originally Posted by OneCa View Post
I am trying to make injector for more than one game

for example

3 dlls for 3 games

1st button get the dll from resources for 1st game and put it into listbox
2nd button get the dll from resources for 2nd game and put it into listbox
3rd button get the dll from resources for 3rd game and put it into listbox

thx for help
Ok made it like this

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
                 Dim Datei As Object = My.Resources.TEST
        ListBox1.Items.Add(Datei)
        dlls.Add("TEST.dll", Datei)
 End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
                 Dim Datei As Object = My.Resources.TEST2
        ListBox1.Items.Add(Datei)
        dlls.Add("TEST2.dll", Datei)
 End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
                 Dim Datei As Object = My.Resources.TEST3
        ListBox1.Items.Add(Datei)
        dlls.Add("TEST3.dll", Datei)
 End Sub
same problem @DawgiiStylz
Quote Originally Posted by DawgiiStylz View Post
What is dlls?
dll file to hack game lol
anyways make dll out from topic now and change the question to :

I just need to put file from resources into listbox how to done that ?
Quote Originally Posted by OneCa View Post
dll file to hack game lol
anyways make dll out from topic now and change the question to :

I just need to put file from resources into listbox how to done that ?
On each button you can just extract the specific DLL from the resources. You don't need a list if you have a few DLLs. To extract a specific DLL from the resources, use the following code:

Code:
System. IO.File.WriteAllBytes("D:\MyDLL.dll",My.Resources.DLLName)
Where D:\MyDLL.dll is the path and name of your dll and the DLLName is the name of the DLL that resides in the resources. Just replace this for every button and you are good to go.
Posts 18 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?