R
RussCRM
I'm using EzVidCap activex which saves a webcam stream as a still
image (.dib) using this code:
Private Sub Command1_Click()
ezVidCap1.SaveDIB "C:\Pic.dib"
Image1.Picture = "C:\Pic.dib"
End Sub
What I would like to do is change/separate this into two command
buttons:
1) cmdDisplayImage: Displays/transfers a captured image from the
ezVidCap1 control in an image or OLE box (not sure which one is best)
- preferably without having to save it to a file first.
2) cmdSaveImage: Saves the displayed image in a filename like:
GuestID_FirstName_LastName_DateofPhoto.dib (or jpg preferably if
someone can tell me how)
Then I'll use that link to that saved image on another form.
Can anyone help me out with the code(s) for this?
image (.dib) using this code:
Private Sub Command1_Click()
ezVidCap1.SaveDIB "C:\Pic.dib"
Image1.Picture = "C:\Pic.dib"
End Sub
What I would like to do is change/separate this into two command
buttons:
1) cmdDisplayImage: Displays/transfers a captured image from the
ezVidCap1 control in an image or OLE box (not sure which one is best)
- preferably without having to save it to a file first.
2) cmdSaveImage: Saves the displayed image in a filename like:
GuestID_FirstName_LastName_DateofPhoto.dib (or jpg preferably if
someone can tell me how)
Then I'll use that link to that saved image on another form.
Can anyone help me out with the code(s) for this?