By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 1,964 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

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

P: n/a
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??
Mar 21 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.