Store picture which is taken by webcam to a folder in vbhttp://forums.asp.net/t/1792735.aspx/1?Store+picture+which+is+taken+by+webcam+to+a+folder+in+vbMon, 16 Apr 2012 05:51:48 -040017927354931812http://forums.asp.net/p/1792735/4931812.aspx/1?Store+picture+which+is+taken+by+webcam+to+a+folder+in+vbStore picture which is taken by webcam to a folder in vb <p>hello everyone. i am very new in programming. i have been doing a project for my college and currently im stuck. i couldn't find a way to store the pictures that are taken using webcam to a folder. its more like i want to store the picture and then encrypt the folder. pls help me out. thanks.</p> <p>Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click<br> Dim data As IDataObject<br> Dim bmap As Image</p> <p>'<br> ' Copy image to clipboard<br> '<br> SendMessage(hHwnd, WM_CAP_EDIT_COPY, 0, 0)</p> <p>'<br> ' Get image from clipboard and convert it to a bitmap<br> '<br> data = Clipboard.GetDataObject()<br> If data.GetDataPresent(GetType(System.Drawing.Bitmap)) Then<br> bmap = CType(data.GetData(GetType(System.Drawing.Bitmap)), Image)<br> picCapture.Image = bmap<br> ClosePreviewWindow()<br> btnSave.Enabled = False<br> btnStop.Enabled = False<br> btnStart.Enabled = True</p> <p>If sfdImage.ShowDialog = DialogResult.OK Then<br> bmap.Save(sfdImage.FileName, Imaging.ImageFormat.Bmp)<br> End If</p> <p>End If<br> End Sub</p> 2012-04-13T21:02:44-04:004933759http://forums.asp.net/p/1792735/4933759.aspx/1?Re+Store+picture+which+is+taken+by+webcam+to+a+folder+in+vbRe: Store picture which is taken by webcam to a folder in vb <p>Hi, hope this helps:</p> <p><a href="http://forums.asp.net/t/1152096.aspx">http://forums.asp.net/t/1152096.aspx</a></p> 2012-04-16T05:51:48-04:00