Capturing image from webcam

G

Greg Casper

Does anyone know how to capture an image from a webcam and place it on a
form for display?

Thanks
 
A

Arvin Meyer [MVP]

If you can capture the image you can save it as a file and display it in an
image control. You can use a WebBrowser control (activeX) to display and
active webcam. Put the control on a form, (it's in the "other controls" on
the tool box), save the form and then resize the control and save it again
(bug workaround) and put the following code in the form's OnOpen event:

Private Sub Form_Open(Cancel As Integer)
Me.WebBrowser4.Navigate
"http://www.earthcam.com/usa/newyork/timessquare/index.php?cam=4&display=fla
sh"
End Sub

The one above opens a Times Square NY webcam in a control named WebBrowser4.

Have fun!
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
G

Greg Casper

Thanks for the answer, Arvin, but I wasn't clear enough. I want to use MY
webcam, attached to MY computer, and capture an image from it into a form.
Then I want to save that captured image as a file for use on reports and
other forms. Essentially, I'm tracking people. I want to capture their photo
from the webcam onto the form, save it with a name using the key field of
the record so I can retrieve it later onto display forms and reports.

How do I access the webcam on MY computer?

TIA
 
A

Arvin Meyer [MVP]

I have done that using an ActiveX control called DBPix:

http://www.ammara.com

It isn't a free control, but it's so easy to use that I din't mind. If you
are using Office 97 or Win 98, there are several free ActiveX controls which
came with these programs that allowed editing and scaning from Twain
compatible devices. Search your computer for: imgedit.ocx to see if you have
it in the Windows\System32 directory.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 

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

Similar Threads

Nikon Z fc Initial Review 3
Web Cam Compression 2
WMM Capturing problems 3
WMV capturing Problems 1
webcam image problem 3
Change Default Webcam 1
Acer Aspire crystal eye webcam issue 1
WebCam Capture 1

Top