|
-
May 5th, 2010, 04:54 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] How to save content of a picture box as a file
I am trying to learn about screensave and image manipulation techniques. It is a big subject, not well covered in my own VB6 trextbooks.
I have based my learning on Microsoft article 161299 thus far and though its code was written for VB4 it runs OK under VB6.
The end result of the code is an image displayed in Picturebox1. I would now like to save that image to a file in either .bmp or, preferably, .jpg format.
Is there please a straightforward general method for transferring whatever may be displayed in a Picturebox at a given instant into a saved .bmp or .jpg file which can subsequently be opened and read by other graphical/photo programs?
Some pointers would be much appreciated.
camoore
Wales, UK
-
May 5th, 2010, 05:00 PM
#2
Re: How to save content of a picture box as a file
You can use the SavePicture function.
-
May 5th, 2010, 06:20 PM
#3
Thread Starter
Hyperactive Member
Re: How to save content of a picture box as a file
Many thanks baja yu for your very rapid response. That was the pointer I needed for now. Have got it working fine.
I will mark this thread as resolved.
Best regards,
camoore
Wales UK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|