I have some webcam .
Useing one webcam is OK !
But selection some webcam is not ok!!
My code :
Public Sub ListVideoSource s(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 = capGetDriverDes criptionA(X, DriverName, 100, DriverVersion, 100)
If B Then lstVideoSources .Items.Add(Driv erName)
X = X + 1
Loop Until B = False
End Sub
What's wrong??
Useing one webcam is OK !
But selection some webcam is not ok!!
My code :
Public Sub ListVideoSource s(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 = capGetDriverDes criptionA(X, DriverName, 100, DriverVersion, 100)
If B Then lstVideoSources .Items.Add(Driv erName)
X = X + 1
Loop Until B = False
End Sub
What's wrong??