Hello,
i've made an dll just to test it.
the .DLL code:
my test project:Code:Option Explicit Public Sub MBOX(ByVal Text As String) Call MsgBox(Text, vbOKOnly, "MBOX") End Sub
i've already gone to > project > references > browse > MBOX.DLL > checked the "MBOX.DLL" > okCode:Private Declare Sub MBOX Lib "MBOX.dll" (ByVal Text As String) Private Sub Form_Load() Call MBOX("hello world") End Sub
I also registered the .DLL in the system but it's still saying "dll not found" but its not working
Can someone tell me what im doing wrong?




Reply With Quote