View Single Post
  #1 (permalink)  
Old June 12th, 2003, 10:10 AM
TheKing TheKing is offline
Registered User
Join Date: Jun 2003
Location: Holland, Iowa, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TheKing
Default 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.