|
Re: FRM:40926 Ole Object is null [message #199946 is a reply to message #129387] |
Fri, 27 October 2006 01:43 |
niva2004
Messages: 15 Registered: October 2006 Location: Cochin
|
Junior Member |
|
|
first you have to place an ole container in form.
in the Layout Editor, move the mouse cursor on the OLE container and access the OLE popup menu (right -click on Microsoft Windows platforms).
From the OLE popup menu, choose Insert Object.
The Insert Object dialog box appears.
From the Insert Object dialog box, click Create from File.
Specify the file name of the object to link.
You can use the Browse option to help locate the file. If you use the Browse option, click OK from the Browse dialog box after selecting a file.
In the Insert Object dialog, check the Link check box.
Click OK.
To import OLE methods:
1 Choose ProgramImport OLE Library Interfaces…
The Import OLE Library Interfaces dialog box appears.
2 Select an OLE Class.
The methods and events packages appear for the selected OLE class.
3 Ctrl-click on the desired methods packages.
4 Check the Methods check box to import the method.
5 Check the Properties check box to import the get and set accessors for properties.
6 Click OK.
|
|
|