Sending a captured .dib file to an image box without storing it

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

    Sending a captured .dib file to an image box without storing it

    I want to use a command button, say "cmdDisplayImag e" to display/
    transfer a captured image from the
    ezVidCap1 control to an image or OLE box on the same form such as
    "PhotoPrevi ew" (not sure which one is possible/best...perhaps someone
    can help me...I'm new at this.) I really don't want to "save" it
    first.

    Then, I want another command button such as "cmdSaveIma ge" to save the
    file to a folder (such as \\Server\Databa se\Images when the user
    clicks another command button when they have the image they want in
    the "PhotoPrevi ew" box. Right now I have something for this like:

    Dim stPhotoPath As String
    stPhotoPath = "photo_" & [GuestPhotoLink] & ".dib"
    ezVidCap1.SaveD IB "\\Server\Datab ase\Images\" & [stPhotoPath]

    This has worked for storing the image directly from the ezVidCap
    control, but I really want to send it to the preview and THEN save it
    to the folder.

    Once it is saved, how do I go about sending the path to my
    tblPhotos.Guest PhotoLink field?

    I read something about image lists on a form, but I don't know how to
    use them or if that's what I need.

    Can anyone help??
Working...