OLE-READ-FROM-FILE

This document covers the following topics:


Description

Reads an embedded object into the OLE Container Control.

Parameters

Name/Data Type Explanation
HANDLE OF GUI Input

Specifies an OLE Container Control.

File name (A253) Input

Specifies the name of an embedded object (in Natural, this is a ".neo" file)

Response (I4) Output

Natural error (if applicable).

Example:

 
PROCESS GUI ACTION OLE-READ-FROM-FILE WITH #MYCONTAINER 'c:\natgui\myobject.neo' 
GIVING #RESPONSE