Displaying and Saving image to an automated filename

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RussCRM

    #1

    Displaying and Saving image to an automated filename

    I'm using EzVidCap activex which saves a webcam stream as a still
    image (.dib) using this code:

    Private Sub Command1_Click( )
    ezVidCap1.SaveD IB "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_FirstNa me_LastName_Dat eofPhoto.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?
Working...