From: Shotgun Thom on
You also could delve into the world of clipboard extenders.

Here's one, Q-Clips, written in VB6:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=69399&lngWId=1

Tom

From: Bee on
Except that I need speed and using a file does not make it.
So what are the other "memory" ways of getting at the video frames (not a
movie).


"Dee Earley" wrote:

> On 13/05/2010 02:33, Bee wrote:
> > I am playing with some web cam calls in VB6 and ran into an interesting
> > situation.
> > The API calls use the clipboard to place an image on.
> > So I was running this code and decided to respond to an eMail and edit
> > another VB6 app in the IDE.
> > Well, Ctrl-V was non-functional everywhere for text. Or so it seemed. In
> > reality the text data as being cleared.
> > Also it was really screwing up my eMail program draft save. That must use
> > the clipboard too.
>
> The other posts have answered about the clipboard, but I'll address the
> video capture part.
>
> Do not use VfW video capture anymore.
> While it will work OK for some hobby code, it is not suitable for
> anything proffessional.
> You should really be looking at WDM, but there are difficulties using
> this from VB6.
>
> If you must use VfW/exVidCap, use the save method and read off disk.
> It's been so long since I scrapped VfW, but I think it also provides a
> callback method to get the raw DIB data.
>
> --
> Dee Earley (dee.earley(a)icode.co.uk)
> i-Catcher Development Team
>
> iCode Systems
>
> (Replies direct to my email address will be ignored.
> Please reply to the group.)
> .
>
From: Tony Toews [MVP] on
Karl E. Peterson <karl(a)exmvps.org> wrote:

>There are very good reasons for clearing all but text. In fact, I
>wrote a program to do just that, and keep an icon on my desktop because
>I need to use it dozens of times a day.
>http://vb.mvps.org/tools/ConClip

Likewise but I found PureText.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/
From: Dee Earley on
On 14/05/2010 00:49, Bee wrote:
> "Dee Earley" wrote:
>> On 13/05/2010 02:33, Bee wrote:
>>> I am playing with some web cam calls in VB6 and ran into an interesting
>>> situation.
>>> The API calls use the clipboard to place an image on.
>>> So I was running this code and decided to respond to an eMail and edit
>>> another VB6 app in the IDE.
>>> Well, Ctrl-V was non-functional everywhere for text. Or so it seemed. In
>>> reality the text data as being cleared.
>>> Also it was really screwing up my eMail program draft save. That must use
>>> the clipboard too.
>>
>> If you must use VfW/exVidCap, use the save method and read off disk.
>> It's been so long since I scrapped VfW, but I think it also provides a
>> callback method to get the raw DIB data.
>
> Except that I need speed and using a file does not make it.
> So what are the other "memory" ways of getting at the video frames (not a
> movie).

As I said, a callback.
I very quick search of the VfW.bas and my code (that I scrapped over 6
years ago!) reveals capSetCallbackOnVideoStream() macro and the
associated WM_CAP_SET_CALLBACK_ERROR message.

--
Dee Earley (dee.earley(a)icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
From: Karl E. Peterson on
Tony Toews [MVP] wrote:
> Karl E. Peterson <karl(a)exmvps.org> wrote:
>
>> There are very good reasons for clearing all but text. In fact, I
>> wrote a program to do just that, and keep an icon on my desktop because
>> I need to use it dozens of times a day.
>> http://vb.mvps.org/tools/ConClip
>
> Likewise but I found PureText.

Yeah, same idea. Nice looking implementation. Mine started as a
simple utility to write to or capture the clipboard at the command
line. Seemed like a natural addition to have it be able to "cleanse"
the clipboard too. :-)

--
..NET: It's About Trust!
http://vfred.mvps.org


First  |  Prev  | 
Pages: 1 2
Prev: Making an exe file
Next: Timer Class