When you add Visual Basic objects to a project, RepVB automatically adds corresponding MDO objects to the repository. Use this method to retrieve the MDO object that corresponds to a particular Visual Basic object.
Set variable = object.GetMDOObject( vbObject )
The GetMDOObject method has these parts:
Part | Description |
variable | A variable declared as a MDO object. Receives the MDO object that represents the vbObject Visual Basic object. |
object | The variable name of the RepVB object. |
vbObject | The Visual Basic object whose corresponding MDO object is to be retrieved. |