Open an OLE object in its own application

We use DOORS 8.2.
Where do I set, that an OLE Object is automatically opened in its application after a double click on it?
Currently I have to click it, then go to edit - Document object - open.

Thank you very much
Best Regards
Mathias Burchardt
B/E Aerospace Systems GmbH
Mathias_Burchardt - Thu Jul 08 11:40:38 EDT 2010

Re: Open an OLE object in its own application
Mathias Mamsch - Thu Jul 08 18:12:17 EDT 2010

I think you can't ... but you can define a custom menu script just containing


oleOpen current Object


which should do the trick. You could do it in the popup menu (so you can right click on the object and choose open) or put it to the menu and give it a keyboard shortcut or both.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Open an OLE object in its own application
Mathias_Burchardt - Mon Jul 19 08:30:18 EDT 2010

Mathias Mamsch - Thu Jul 08 18:12:17 EDT 2010
I think you can't ... but you can define a custom menu script just containing


oleOpen current Object


which should do the trick. You could do it in the popup menu (so you can right click on the object and choose open) or put it to the menu and give it a keyboard shortcut or both.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Thank you, Mathias.
The code works but it would be more convenient to directly open the OLE object in its application on double click.
I know one of my customers had this function implemented into his DOORS version. So it should work.

Rgds,
Mathias

Re: Open an OLE object in its own application
rmoskwa - Mon Jul 19 13:29:14 EDT 2010

Mathias_Burchardt - Mon Jul 19 08:30:18 EDT 2010
Thank you, Mathias.
The code works but it would be more convenient to directly open the OLE object in its application on double click.
I know one of my customers had this function implemented into his DOORS version. So it should work.

Rgds,
Mathias

Maybe you are experiencing operator error.

I have an object that has text plus an OLE Word table.

I click on the object to select it.
I double-click on the object be able to edit the text.
I click on the OLE to select it. You will see the OLE's handles. (little black boxes on the corners and center of the OLE.
I double-click on the selected OLE to be able to edit it.

Re: Open an OLE object in its own application
Mathias_Burchardt - Tue Jul 20 06:18:47 EDT 2010

rmoskwa - Mon Jul 19 13:29:14 EDT 2010
Maybe you are experiencing operator error.

I have an object that has text plus an OLE Word table.

I click on the object to select it.
I double-click on the object be able to edit the text.
I click on the OLE to select it. You will see the OLE's handles. (little black boxes on the corners and center of the OLE.
I double-click on the selected OLE to be able to edit it.

That will open the OLE within DOORS - a common feature. I would like to have the OLE object to be opened in its own application.
Rgds, Mathias

Re: Open an OLE object in its own application
Mathias Mamsch - Tue Jul 20 14:20:51 EDT 2010

Mathias_Burchardt - Tue Jul 20 06:18:47 EDT 2010
That will open the OLE within DOORS - a common feature. I would like to have the OLE object to be opened in its own application.
Rgds, Mathias

Maybe this is an option, that you can set for every specific OLE object (word, excel, ...) in the windows registry, like a default open mode. Just a hunch. Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Open an OLE object in its own application
rmoskwa - Tue Jul 20 16:22:09 EDT 2010

Mathias_Burchardt - Tue Jul 20 06:18:47 EDT 2010
That will open the OLE within DOORS - a common feature. I would like to have the OLE object to be opened in its own application.
Rgds, Mathias

In DOORS you need to do Edit-> Paste Special...
The Paste Special dialog box pops up.
Click on the "Paste Link" button on the left-side of the dialog box, and then click OK to paste the OLE.

Now double-clicking on the OLE will cause the OLE to be opened in its own application.

I think all applications that allow Paste Special will let you either Paste or Paste Link.

Re: Open an OLE object in its own application
llandale - Tue Jul 20 17:26:18 EDT 2010

rmoskwa - Mon Jul 19 13:29:14 EDT 2010
Maybe you are experiencing operator error.

I have an object that has text plus an OLE Word table.

I click on the object to select it.
I double-click on the object be able to edit the text.
I click on the OLE to select it. You will see the OLE's handles. (little black boxes on the corners and center of the OLE.
I double-click on the selected OLE to be able to edit it.

If you select the OLE and look at the module Edit menu >Document Object sub-menu you should see options to 'edit' and to 'open'. 'Edit' edits in place and provides very little options; 'open' opens it up in its original application with lots more options. The poster wants to change the behavior of double-click to mean 'open' instead of 'edit'.

Don't know how to do that.

  • Louie

Re: Open an OLE object in its own application
rmoskwa - Wed Jul 21 14:24:00 EDT 2010

llandale - Tue Jul 20 17:26:18 EDT 2010
If you select the OLE and look at the module Edit menu >Document Object sub-menu you should see options to 'edit' and to 'open'. 'Edit' edits in place and provides very little options; 'open' opens it up in its original application with lots more options. The poster wants to change the behavior of double-click to mean 'open' instead of 'edit'.

Don't know how to do that.

  • Louie

Wow, I didn't know that. I was wondering why anyone would want to "link-out" to a document as opposed to embedding it. This is a nice way to edit embedded OLEs.