Thanks for responding my concern but my Webcam model is "Logitech QuickCam 5.4.1" and it doesn't have a "EZTWAIN.DLL or EZTW32.DLL". Is There other way?
Use a Logitech Webcam. You get the active x for free enclosed with the cam. It´s not a big problem to use it with Visual Foxpro. Use the enclosed VB examples to find the trick of the trade. (There are some light syntax modifications to do that makes it run in Visual Foxpro).
The technique I described in my article applies to all TWAIN-compliant web cams. I don't know the Logitech model, but it is almost certain to be TWAIN-compliant. Almost all web cams are.
EZTWAIN.DLL does not come with the camera. It is a third-party product. You can download a trial copy from
Thanks a lot. Your suggestions/answers are very helpful in solving my problem. But, I realy appreciate if you can provide me another way of solutions. Thanks again.
i tried the code you gave in:
FAQ184-3891 Webcam Video Capture
registered the ocx and averything but when i try to run your code in a prg it errors out on the 2nd line with the following error:
OLE error code 0x800401f3: Invalid Class String
any ideas?
The only time I've gotten this error is when an ocx isn't really registered or required files are missing. I would double-check this stuff...you are probably receiving the error right after the load event of the class right (if you step into createobject line of code)? I believe it is the OCX, try re-registering the ocx, or redownloading it even. I am using VFP 7 and it works as described, unless I unregister the ocx, at which point I see the error you got.
ok i re-downloaded it, even tried it on 2 different machines, one running xp home, the other running 2k pro.
on there site they have 2 different downloads one is for vb5 and the other for vb6 i assume i need vb6 because the vb5 zip does not contain "ezVidC60.ocx" it only has "ezVidC.ocx" and i need only to register "ezVidC60.ocx", right?
let me know if any of this is wrong because no matter what i cant seem to get past this.
you need to register ezVidCap.ocx not just ezVidC60.ocx
2 different ones in that case mabey the vb5 download would be the way to go, but if nothing else just register them both! (mabey i should have tried that sooner)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.