N
Nicolas Rabaté
Hello,
I'm wondering whether it is feasible to reference a function of another
project dynamically.
Here is the piece of code
Project A : a reference is set to project B
-----------------------------------------
Dim o1 as IPictureDisp
set o1 = ProjectB.Module.myform(1)
Project B/Module
------------------
Public Function myform (v as Integer) as IPictureDisp
Dim uf as pics
set uf = new pics
set myform = uf.imglist.ListImages(1).Picture
set uf = nothing
End function
As it is this code sample works fine.
Project A : the reference to Project B is not set
I'm wondering whether it is feasible to reference a function of another
project dynamically.
Here is the piece of code
Project A : a reference is set to project B
-----------------------------------------
Dim o1 as IPictureDisp
set o1 = ProjectB.Module.myform(1)
Project B/Module
------------------
Public Function myform (v as Integer) as IPictureDisp
Dim uf as pics
set uf = new pics
set myform = uf.imglist.ListImages(1).Picture
set uf = nothing
End function
As it is this code sample works fine.
Project A : the reference to Project B is not set