To include the MontiVision Smart Control inside your Visual Basic 6.0 applications, use the following steps.
1. Step
Create your application framework with the new project dialog. Select the "Components" command from the "Project" menu.
![]()
Select the "MV Smart Control 1.0 Type Library" in the Components dialog and press the "OK" button.
![]()
Now the Toolbox contains the MV Smart Control.
![]()
2. Step
Insert the control into the application form. .
![]()
3. Step
To get interfaces from the control you have to add a variable for the interface and set this interface with the control object.
![]()
4. Step
To handle events from the MV Smart Control select the control object in the code view and then select an event.
![]()
See Also