Displaying and Saving image to an automated filename

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top