Export (0) Print
Expand All

Visual Basic Reference

Visual Studio 6.0

SaveToOle1File Method

See Also    Example    Applies To

Saves an object in the OLE version 1.0 file format. Doesn't support named arguments.

Syntax

object.SaveToOle1File filenumber

The SaveToOle1File method syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Filenumber Required. A numeric expression specifying the file number used when saving or loading an object. This number must correspond to an open, binary file.

Remarks

If the object is linked (OLEType = vbOLELinked, 0), only the link information and an image of the data is saved to the specified file. The object's data is maintained by the application that created the object. If the object is embedded (OLEType = vbOLEEmbedded, 1), the object's data is maintained by the OLE container control and can be saved by your Visual Basic application.

If you want to save the object in the current ActiveX component format, use the SaveToFile method instead.

Show:
© 2014 Microsoft