Hi,
I have an exe file and a dll file (include a module1.bas, class1.cls) was compiled
Module1.bas
Class1.cls
In exe file, i use clsRegServer class to dynamic load dll file
i have try with CreateObject("ProjectName.class1") and call sub, that is ok
but i don't know how to call TestFunc
Somebody could tell me how to call public function from my module ? or anyway like dynamic declare function :D
sorry, my english not good
I have an exe file and a dll file (include a module1.bas, class1.cls) was compiled
Module1.bas
Code:
Public Function TestFunc()
Msgbox "hello"
End Function
Code:
Public Sub TestSub()
Msgbox "hello sub"
End Sub
i have try with CreateObject("ProjectName.class1") and call sub, that is ok
but i don't know how to call TestFunc
Somebody could tell me how to call public function from my module ? or anyway like dynamic declare function :D
sorry, my english not good