Enables programmers to convert a file into an object BLOB, either by linking or embedding.
|
Syntax:
|
File2OLE (file name, linked)
|
Parameters:
|
file name: The name of the file to be converted.
|
|
linked: True indicates that the result will be a link to the file; or False indicates that the file will be embedded.
|
Returns:
|
The function will return a BLOB. If the object BLOB is a Null, then the function was not able to perform the conversion.
|
Example:
|
File2OLE('C:\att1.doc','TRUE'LOG) combines an OLE2 BLOB variable with a word file name att1.doc.
|