Platform SDK: Broadcast Architecture |
The Input property sets or returns information on the device supplying input to the Video control. Visual Basic syntax is shown.
object.Input [ = oDevice]
Once you assign a BPCDeviceBase object to the Input property, the media stream from the input device is displayed by the Video control. To suppress the display, your application can set the BPCVid.VideoOn property to False. Alternatively, your application can set the Visible property to False to hide the entire window. Visible is implemented by the Extender class; for more information, see Visual Basic Extender Object.
Visible is implemented by the Extender class; for more information, see Visual Basic Extender Object.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.
BPCDeviceBase, BPCVid, BPCVid.Output, BPCVid.VideoOn
The following searches the BPCDevices collection for a device that receives television channels and sets it as the input device for an instance of the Video control, vid
.
For Each Device In vid.Devices If Device.HasChannel Then vid.Input = Device Exit For End If Next