Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2003, 10:10 AM
Registered User
 
Join Date: Jun 2003
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.
TheKing





Similar Threads
Thread Thread Starter Forum Replies Last Post
Picture Box harfani VB.NET 2002/2003 Basics 0 August 6th, 2007 08:36 AM
Crystal Report picture box brodavid2005 VB Components 2 July 23rd, 2007 06:38 AM
Picture Box Control irresistible007 Beginning VB 6 0 October 28th, 2006 09:46 AM
problem regarding the picture box CsharpHelp C# 2 October 5th, 2005 07:19 AM
Picture Box DARSIN General .NET 1 September 13th, 2004 04:01 AM





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