RepVB GetVBObject Method

See Also

When you add Visual Basic objects to a project, RepVB automatically adds corresponding MDO objects to the repository. Use this method to retrieve the Visual Basic object that corresponds to a particular MDO object.

Syntax

Set variable  =  object.GetVBObject( mdoObject )

The GetVBObject method has these parts:

Part Description
variable A variable declared as a Visual Basic object of the appropriate type. Receives the Visual Basic object that is represented by the mdoObject object in the repository.
object The variable name of the RepVB object.
mdoObject The MDO object whose corresponding Visual Basic object is to be retrieved.