Platform SDK: Broadcast Architecture |
You can add the Video control to a Visual Basic application. To do this, use the following procedure.
To add the Video control to a Visual Basic project
Once the Video control is added to your project, you can drag and drop it onto a form or dialog box. You can then set its properties using the form or dialog box's property sheet.
To call the methods and properties of the Video control, your application uses the name of the Video control. For example, if the name of the Video control is vid
, you use the following code to display the Video control's About dialog box.
vid.AboutBox
To create instances of other Microsoft BPC Video Server and Control module objects, use the New keyword. For example, the following code creates a new BPCVBIControl object.
Dim vbi As BPCVBIControl Set vbi = New BPCVBIControl