Viscom Software VideoCap ActiveX Control

GetDeviceCount Method

Description:   

Return the count of Video Device. In some development tools, you cannot use Device Object, for this case, this method is useful.

Usage:   

VideoCap1.GetDeviceCount
 

Parameter:

No Parameter
 

Return Value:

Return the count for Video Device.

Example:   

The Visual Basic.Net example 

For i = 0 To AxVideoCap1.GetDeviceCount - 1
strVideoDeviceName = AxVideoCap1.GetDeviceName(i)
cbovideodevice.Items.Add(strVideoDeviceName)
Next