Chapter Contents


SAS Companion for the Microsoft Windows Environment

Converting OLE Objects

An OLE object can be associated with only one server application, but some OLE objects can be converted for use with a different server application than the one that created them.

You can convert an object by using the Convert dialog box (shown in Convert Dialog Box). This dialog box lets you:

Convert Dialog Box


To convert an OLE object within a SAS/AF FRAME entry:

  1. Click on the object with the right mouse button.

  2. At the bottom of the pop-up menu, select the object's name (thus revealing the cascading menu).

  3. In the cascading menu, select Convert.... The Convert dialog box appears, listing the valid object types to which you can convert the selected object.

  4. If you want to actually convert the object to another type, select the desired target object type and click on [OK].

    If you want to toggle the object between icon view and content view, check Display As Icon.

    If you want to activate the object using another server, click on Activate as and then select the server application to use.

  5. Click on [OK].

An alternate way to open the Convert dialog box for an OLE object is to select the object and issue the DLGCONVERT command on the command line. Also, you can use the _EXECUTE_ method in SCL to invoke the DLGCONVERT command. For example:

call notify('sheetobj','_execute_',

Chapter Contents



Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.