Viscom Software VideoCap ActiveX Control

Devices.FindDevice Method

Description:   

Search the Devices Collection for a given string. The string contains the name of a Device.

Usage:   

Devices.FindDevice Name

Data Type:   

String

Return Value:   

If the property Name of an Device object is equal to the given string. The FindDevice method return the index of the Device in the Collection. If the string is not found, the FindDevice method return -1.

Example:   

This Visual Basic example find the video capture device:

VideoIndex = VideoCap1.Devices.FindDevice "3Com PC WebCam Lite"