![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: link OLE object from file - Where is the pathname stored? Topic Summary: Need to get the pathname of a linked OLE object Created On: 10-Jan-2006 12:41 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
If you create the OLE object from file you can either link it to the file on your system, or embed it.
Is it possible to extract the full pathname of the linked object? Kind regards, jörg |
|
![]() |
|
![]() |
|
1. If the OLE object in the current object is selected, then you can get the pathname using showOlePropertiesDialog(o).
2. That dialog box will have a Link tab which will show the link. Or - select the DOORS object. Select the OLE object, right click and select OLE Object Properties. In the dialog box, you can copy the path manually. To actually get the string value of the path of the OLE object... You can get the OLE object using the attached code: But then I think that you will need to run some OLE automation to extract the OLE properties. I have not tried that. ------------------------- Cliff Bly Edited: 10-Jan-2006 at 14:46 by cliff Bly |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.