| Home | Previous Lesson: Inserting an Existing File In the OLE Control Next Lesson: Saving the Object From the OLE Control |
Calling InsertObject() prompts allows you to choose an object and allows to either to create from a new object or from an existing object. If you choose to create from create from the existing file, you can also link to that file. If the "content " attribute is set to "Any" then only you are allowed to link the existing object. If the content type is set to "Linked", you choices are narrowed down to linking to the existing object.
ole_1.InsertObject()
To see it in the action, run the application. Select 'Module > OLE Control Examples' menu option. Click on the Insert Object CommandButton.
| Home | Previous Lesson: Inserting an Existing File In the OLE Control Next Lesson: Saving the Object From the OLE Control |