private void Form1_Load(object sender, EventArgs e) { try { ics.InitializeAudioSystem(iConfServer.NET.iConfServerDotNet.audioType.DirectSound, -1, -1, 16000, 10); vd = new VideoDevice(); vd.cbVideoDevices.DataSource = ics.GetVideoDevices(); ics.SelectVideoDevice(0); //start previewing video using the default video size ics.StartPreview(0); } catch (Exception ex) { MessageBox.Show(string.Format("Error initializing {0}", ex.Message)); } }