Using the MontiVision Smart ActiveX Control with Visual Basic .NET 2002, 2003 or 2005

To include the MontiVision Smart Control in your own Visual Basic 7.0 (.NET) application, use the following steps.

1. Step

Select the "Customize Toolbox" command from the "Tools" menu.

Enable the "CMVSmartControl" ActiveX Control and press OK.

Now the Toolbox contains the MV Smart Control symbol.

2. Step

Draw the MV Smart Control into the dialog.

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