save pics

chris1234
12-02-2001, 10:59 PM
How do I save whats in a picture box?

orufet
12-02-2001, 11:09 PM
I believe you can use the SavePicture method of a Picture Box.

Defiance
12-02-2001, 11:09 PM
What do you mean by save? Save the contents of it in the registry for the next time a user starts the program to appear as they were before, or what? Please be specific.

--Defiance

chris1234
12-03-2001, 04:09 AM
yeah sorry about that short thing I was in a hurry. Yes anyway I mean save a pic in a picture box as a bitmap file. If you have any code snippets it would help alot.
thx

chris1234
12-03-2001, 04:13 AM
HEY! Why am I a freshmen?!

Ad1
12-03-2001, 04:22 AM
hey you haven't been here for a while have you, the titles changed a while ago after some debate

chris1234
12-03-2001, 04:28 AM
Think your so darn good because your a Senior Contributor, dont you?

Ad1
12-03-2001, 04:35 AM
yep images/icons/cool.gif

Squirm
12-03-2001, 10:54 AM
Type SavePicture in the code window then press F1.

chris1234
12-04-2001, 01:06 AM
aha thanks

divil
12-04-2001, 04:09 AM
Those titles suck

wild wolf
12-04-2001, 09:28 PM
what do titles have to do with this post?

wild wolf
12-04-2001, 09:36 PM
following squirm's instructions

MSDN Library

SAVEPICTURE( ) Function

Creates a bitmap (.bmp) file from a picture object reference.

Syntax

SAVEPICTURE(oObjectReference, cFileName)

Returns

Logical

Arguments

oObjectReference

Specifies a picture object reference from which SAVEPICTURE( ) creates a bitmap file.

cFileName

Specifies the name of the bitmap file that SAVEPICTURE( ) creates. If cFileName includes a path, the file is created in the directory specified in the path. If a file with the same name already exists, it is overwritten without warning, even if SET SAFETY is ON. An error message is displayed if the file you specify does not exist.

Remarks

Picture object references are typically created with LOADPICTURE( ). However, certain properties (such as the PictureOpen property for the OLE Outline control) use a default picture object reference which can be used to create a bitmap file.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum