I have some webcam .
Useing one webcam is OK !
But selection some webcam is not ok!!
My code :
Public Sub ListVideoSources(ByVal lstVideoSources As ComboBox)
Dim DriverName As String = Space(100)
Dim DriverVersion As String = Space(100)
Dim X As Integer = 0
Dim B As Boolean
Do
B = capGetDriverDescriptionA(X, DriverName, 100, DriverVersion, 100)
If B Then lstVideoSources.Items.Add(DriverName)
X = X + 1
Loop Until B = False
End Sub
What's wrong??