Webcam selection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Projoe
    New Member
    • Jun 2007
    • 1

    #1

    Webcam selection

    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??
Working...