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?
Originally Posted by OneCa
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
Originally Posted by DawgiiStylz
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
Originally Posted by OneCa
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
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 ?
Originally Posted by OneCa
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:
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.