Home All Groups Group Topic Archive Search About
Author
20 Aug 2010 2:22 AM
BeeJ
I love playing with my WebCAM in VB6.
Please give me links to places where I can find sample code or just
snippets to get started.  I want to use this on Win7 and XP.
Would this be this DirectX or better?
I want to capture a movie and snapshots.
I have some code running on XP but I am trying to locate more up to
date coding techniques.
Terminology and clues would be helpful if no startup code is available.
My goal is to write a VB6 app that will take a snapshot every so many
seconds and write a file up to N snapshots then overwrite in a big
loop.
Sort of like a hour long (or whatever) capture over the last past hour
(or whatever).
I need the distraction now 'cause i have so many other problems that
cannot be resolved and I don't care much for TV.

Author
20 Aug 2010 2:34 PM
Nobody
Author
20 Aug 2010 7:38 PM
BeeJ
Nobody brought next idea :
I saw that before.
It uses the SendMessage to work with the camera.
I thought this was old tech.
It also screws up the clipboard while running since it uses it to put
and get images while wiping out everything else the user might have
expected to be on the clipboard.
Author
20 Aug 2010 7:43 PM
Kevin Provance
"BeeJ" <nospam@live.com> wrote in message
news:i4mlka$ddd$1@speranza.aioe.org...
: Nobody brought next idea :
: > Security Camera v1.0 (Final Build)
: >
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=65462&lngWId=1
:
: I saw that before.
: It uses the SendMessage to work with the camera.
: I thought this was old tech.
: It also screws up the clipboard while running since it uses it to put
: and get images while wiping out everything else the user might have
: expected to be on the clipboard.

SendMessage is not old tech.  It's core Windows.

As far as the image thing, the challenge is to find other ways to handle
them, outside of the clipboard.  Which is possible.  Think outside the box.
Author
20 Aug 2010 2:34 PM
Nobody
"BeeJ" <nospam@nowhere.com> wrote in message
news:i4kota$ack$1@speranza.aioe.org...
> I need the distraction now 'cause i have so many other problems that
> cannot be resolved and I don't care much for TV.

Off topic:

http://www.shockwave.com/online/special/daily-play.jsp
Author
25 Aug 2010 5:05 PM
Dee Earley
On 20/08/2010 03:22, BeeJ wrote:
Show quoteHide quote
> I love playing with my WebCAM in VB6.
> Please give me links to places where I can find sample code or just
> snippets to get started. I want to use this on Win7 and XP.
> Would this be this DirectX or better?
> I want to capture a movie and snapshots.
> I have some code running on XP but I am trying to locate more up to date
> coding techniques.
> Terminology and clues would be helpful if no startup code is available.
> My goal is to write a VB6 app that will take a snapshot every so many
> seconds and write a file up to N snapshots then overwrite in a big loop.
> Sort of like a hour long (or whatever) capture over the last past hour
> (or whatever).
> I need the distraction now 'cause i have so many other problems that
> cannot be resolved and I don't care much for TV.

There is the old VfW method (http://www.shrinkwrapvb.com) which was
supersceded many years ago by WDM and DirectShow which is VERY difficult
to use in VB6 without much detailed experience with COM.

We however use a C++ DLL which then exposes the image data as a nomrla
COM interface for VB.

<plug>
We sell an app that will do the timelapse for you with WDM capable
sources if you're interested, see the product mentioned in my signature.
</plug>

--
Dee Earley (dee.ear***@icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)