Click here to Skip to main content
14,176,276 members

Comments by Member 11388199 (Top 2 by date)

Member 11388199 14-Apr-15 6:54am View
   
ERROR IS on

Helper.SaveImageCapture(imgCapture.Image);

shows null!
Member 11388199 14-Apr-15 6:51am View
   
public partial class mainWinForm : Form
{
public mainWinForm()
{
InitializeComponent();
}
WebCam webcam;
private void mainWinForm_Load(object sender, EventArgs e)
{
webcam = new WebCam();
webcam.InitializeWebCam(ref imgVideo);
webcam.Start();
imgCapture.Image = imgVideo.Image;
Helper.SaveImageCapture(imgCapture.Image);
}

private void bntStart_Click(object sender, EventArgs e)
{
webcam.Start();
}



private void bntCapture_Click(object sender, EventArgs e)
{
imgCapture.Image = imgVideo.Image;
}

private void bntSave_Click(object sender, EventArgs e)
{
Helper.SaveImageCapture(imgCapture.Image);
}

}


code works with individual btnclick but i want to click and save without user help.
Working on lost laptop tracker

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190525.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid