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

R

RussCRM

I want to use a command button, say "cmdDisplayImage" to display/
transfer a captured image from the
ezVidCap1 control to an image or OLE box on the same form such as
"PhotoPreview" (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 "cmdSaveImage" to save the
file to a folder (such as \\Server\Database\Images when the user
clicks another command button when they have the image they want in
the "PhotoPreview" box. Right now I have something for this like:

Dim stPhotoPath As String
stPhotoPath = "photo_" & [GuestPhotoLink] & ".dib"
ezVidCap1.SaveDIB "\\Server\Database\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.GuestPhotoLink 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??
 

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