This VB example initializes a combo box with IP addresses and uses it to switch between the cameras:
Private Sub Form_Load()
CamIPLst = ActiveGige1.GetCameraIPList
For i = 0 ToUBound(CamIPLst)
Combo1.AddItem (CamIPLst(i))
Next
Combo1.ListIndex = 0
ActiveGige1.Acquire = True
End Sub
Private Sub Combo1_Click()
ActiveGige1.Camera = Combo1.ListIndex
End Sub
This MFC example fills out a combo box with IP addresses: