Hi,
I have a problem with inserting MS office documents through this formula:
theObject := @Prompt([OKCANCELLIST]; "Insert Document Object"; "Pick an object type to insert. Use the first option for any object type not listed."; ""; " An object type not listed" : "Microsoft Excel Worksheet" : "Adobe Acrobat Document" : "Microsoft Graph 5.0" : "Microsoft Graph 3.0" : "Microsoft Excel Chart" : "Microsoft Word 2.0 Document" : "Microsoft Word 6.0 Document");
@If(theObject = 1; @Return(@Prompt([OK]; "No Selection"; "Be sure to click on one of the listed choices before clicking OK.")); @Success);
@If(theObject = " An object type not listed"; @Do(@PostedCommand([EditDown]); @PostedCommand([EditInsertObject])); @Do(@PostedCommand([EditDown]); @PostedCommand([EditInsertObject]; theObject)))
The formula makes a menu where u can choose which document u like to insert into a rich txt field.
The problem is that when I am inserting one of the MS office docs I get this error:
"No OLE Objects are registered in the System Registry"
Is there anybody who can help me solve this prob.!
*MS office is installed on the workstation.
Thanks, in advance
Aage

Embedded object - system registry (Aage Ytreberg 12.Jul.00)
. . 