New Load Lib function! with VB!
here is a method i used to load a dll that i can look in it with olly
( i used asm method in visual basic 2010 ,.. i only give you the code,.. call it in a timer and your done, no more explenation! )
u need import files :
Code:
Imports System.Reflection
and the function here :
Code:
Sub LoadLibDll(ByVal FileName As String, ByVal NameS As String, ByVal Func As String, ByVal Param() As Object)
Try
Dim ASM As [Assembly] _
= Assembly.LoadFile(FileName)
Dim O As Object _
= ASM.CreateInstance(NameS)
Dim T As Type _
= O.GetType()
Dim MI As MethodInfo _
= T.GetMethod(Func)
Dim Result As Object _
= MI.Invoke(O, Param)
Catch
MsgBox("cant load the .dll!")
End Try
End Sub
have funn..
