Redirecting other Vendors' OLE objects to Marvin OLE

From version 5.7 Marvin OLE started supporting conversion of other Vendors' embedded OLE objects to Marvin OLE. This means an in-place migration of OLE contents generated by other chemical OLE objects. The list of currently supported OLE:

  • ISISDraw, SymyxDraw, AccelrysDraw OLE content - (MDLDrawOLE.MDLDrawObject)

  • ChemDraw OLE content - (ChemDraw.Document)

Installation of this capability requires administrator skills and privileges strictly. In the C:\Program Files\ChemAxon\Shared\MarvinOLE folder, you will find the relevant registry file (Install_ISIS_Symyx_OLE_Redirection.reg or Install_ChemDraw_OLE_Redirection.reg) which helps you to modify the registry accordingly. The administrator should do the following steps to get this feature installed properly:

  • BEFORE the OLE redirection, the following registry keys should be exported (and saved) for backup purposes.

    • On a 32-bit system:

      • for MDLDrawOLE objects: HKEY_CLASSES_ROOT\CLSID\{0004AFF7-0000-0000-C000-000000000046}

      • for ChemDraw documents: HKEY_CLASSES_ROOT\CLSID\{41BA6D21-A02E-11CE-8FD9-0020AFD1F20C}

    • On a 64bit system: the above and

      • for MDLDrawOLE objects: HKEY_CLASSES_ROOT\Wow6432Node

      • for ChemDraw documents: HKEY_CLASSES_ROOT\Wow6432Node

  • When the above entries are saved, the "Install_ISIS_Symyx_OLE_Redirection.reg" or the "Install_ChemDraw_OLE_Redirection.reg" regfile can be executed. (See it in the previous section)

  • AFTER the OLE redirection, to restore the original state of the system (i.e. without OLE redirection), the above keys should be deleted from the registry, and the exported keys should be imported again.

If the installation of this feature was successful the third-party OLE content will be converted during the OLE editing process.

Important!
After executing the Install_ISIS_Symyx_OLE_Redirection.reg or the Install_ChemDraw_OLE_Redirection.reg file your OLE object will be opened by Marvin in the future.

In each case when a user is about to open the third-party OLE content, an automatic confirmation dialog will be dropped to get this conversion confirmed. (If a structure is selected and copied in SymyxDraw, when it is pasted to an MS Office document, the confirmation dialog appears, too.)
On the dialog, the user should allow (or disallow) the redirection operation and also can apply his decision for all similar cases (check box): how should the same OLE type be edited in the future. If the checkbox was selected, the confirmation dialog will not be dropped for that OLE content type any more. The decision is stored for each OLE content type in the following registry path: HKEY_CURRENT_USER\Software\ChemAxon\MarvinOLE\Settings
If the appropriate registry key (e.g. the \SKCConversion) is deleted, the confirmation dialog will appear next time again at editing the third-party OLE.

Redirect file associations to MarvinView

File associations can be modified according to the standard Windows procedure, as described above in the Installation of a regfile paragraph.
But there is another way to redirect the .SKC file associations (from IsisDraw or SymyxDraw) or the .CDX file associations (from ChemDraw) to MarvinView: on installing (or reinstalling) MarvinBeans, the 'Allow file associations' checkbox should be checked, and on the next, 'Select File Associations' popup the 'Isis/Draw molecule file (*.skc)' or/and the 'ChemDraw chemical structure exchange file (*.cdx)' checkbox should be checked.
This file association-redirection can be reverted when MarvinBeans is reninstalled again, and the 'Isis/Draw molecule file (*.skc)' or/and the 'ChemDraw chemical structure exchange file (*.cdx)' checkbox remains unchecked (default) - or when MarvinBeans is uninstalled.