p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VB How-To (http://p2p.wrox.com/forumdisplay.php?f=78)
-   -   How to get a still out of a picture box? (http://p2p.wrox.com/showthread.php?t=492)

TheKing June 12th, 2003 10:10 AM

How to get a still out of a picture box?
 
I have a VB 6.0 PictureBox that I have put streaming video in from a Sony Web Camera.

I would like to 'capture' a still at a particular time and save it as a small jpg file on my hard drive.

I thought I could use: SavePicture picVideoWindow.Picture, "c:\SonyPic.bmp"

but when I mouse over the picVideoWindow I get picVideoWindow = 0 returned.

Could this be because I am putting streaming video into my picture box and not an image persay?

I have tried all I can think of doing.
TheKing


All times are GMT -4. The time now is 08:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.