no, not work. If I call same sub in the primary module does work, in the nested module don't work.
My class have several properties and I call CallSub when I not know the type of the object.
Example:
Class CLGestOrdClienti
Public Sub getDBPrefix As String
Return "cli"
End Sub
Primary module:
Dim a as string = CallSub(Cliente, "GetDBPrefix") //Work, but if I hover the mouse around the row return the error: "sub not found", but work correctly
in the same module call this:
Dim Cliente as CLCollection = DBUtil.LoadCollection(Cliente)
in the DBUtil module, at the sub LoadCollection I call this:
Dim DBPrefix as string = CallSub(pObject, "GetDBPrefix") // DON'T WORK, pObject is the istance of the object Cliente passed in the primary module (DBUtil.LoadCollection(Cliente))
Why? :-(
P.S. I am using the simulator, not the real device.