| Home | Previous Lesson: Inserting an Object In the OLE Control Next Lesson: Saving the OLE Control as Another File |
Calling the Save() saves the content of the OLE control to the opened file. If you open the file by using Open() format 1 or InsertObject() functions, file is saved to the opened file. If the file is opened from the OLE storage (explained in the next session), it will be saved to the OLE storage.
ole_1.Save()
To see it in the action, run the application. Select 'Module > OLE Control Examples' menu option. Insert a file by clicking on the Insert File CommandButton and click on the Save CommandButton.
| Home | Previous Lesson: Inserting an Object In the OLE Control Next Lesson: Saving the OLE Control as Another File |