Hello there,
I'm quite new to DXL programming and I need your help. My goal is to integrate a Doors module into an external TOOL. First step I want to take, is running a script DXL without opening DOORS first.
And later I want to execute this script via Python, C or C++ via DOORs api (but just one step after another). For example:
A file called Hello_World.dxl on desktop. If I doubleclick it doors will open an show me Hello world.
Is this possible?
I will be very thankful for your help!
Best regards
Christian
SystemAdmin - Wed Oct 24 04:30:54 EDT 2012 |
|
Re: Running a DXL file outside DOORS adevicq - Wed Oct 24 06:21:36 EDT 2012
Hi,
To my knowledge, there is only one way: you must use the COM object exposed by DOORS. For example, in Excel it can be done like this:
Set DOORSObj = CreateObject("DOORS.Application")
wwStr = "#include <the file that contains the code you want to execute>"
// runStr interprets a string that includes the code to be executed
DOORSObj.runStr (wwStr)
Best regards,
Alain
|
|
Re: Running a DXL file outside DOORS Mathias Mamsch - Wed Oct 24 13:21:00 EDT 2012 adevicq - Wed Oct 24 06:21:36 EDT 2012
Hi,
To my knowledge, there is only one way: you must use the COM object exposed by DOORS. For example, in Excel it can be done like this:
Set DOORSObj = CreateObject("DOORS.Application")
wwStr = "#include <the file that contains the code you want to execute>"
// runStr interprets a string that includes the code to be executed
DOORSObj.runStr (wwStr)
Best regards,
Alain
In this post we additionally show, how DOORS can be launched from an external program (and detect if it is already running), before running the DXL:
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14463402#14463402
Maybe that helps, Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|
Re: Running a DXL file outside DOORS SystemAdmin - Thu Oct 25 05:16:51 EDT 2012 Mathias Mamsch - Wed Oct 24 13:21:00 EDT 2012
In this post we additionally show, how DOORS can be launched from an external program (and detect if it is already running), before running the DXL:
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14463402#14463402
Maybe that helps, Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
Thank you Alain and Mathias for this quik answer! I tried with success to run doors via an exel macro.
Now i will try the alternative with C#. Thank you very much again!
Regards
Christian
|
|
Re: Running a DXL file outside DOORS SystemAdmin - Tue Oct 30 09:25:01 EDT 2012 Mathias Mamsch - Wed Oct 24 13:21:00 EDT 2012
In this post we additionally show, how DOORS can be launched from an external program (and detect if it is already running), before running the DXL:
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14463402#14463402
Maybe that helps, Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
Another question Mathias,
where can i find the DOORSCOMLib? In the other post it says "reference to the COM library "Telelogic DOORS Type Library" but i don´t find such a file in the DOORs data.
Best regards.
Christian
|
|
Re: Running a DXL file outside DOORS SystemAdmin - Wed Oct 31 06:28:40 EDT 2012 SystemAdmin - Tue Oct 30 09:25:01 EDT 2012
Another question Mathias,
where can i find the DOORSCOMLib? In the other post it says "reference to the COM library "Telelogic DOORS Type Library" but i don´t find such a file in the DOORs data.
Best regards.
Christian
Ok i fixed the Problem. I reinstalled my Windows SDK and now it is working.
Maybe you can hel me with my other problem. Now I want du execute my C# file and i want to open a DOORS Client, which is installed on a remote desktop. Is there any code for executing a C# script via windows remote control?
Regards
Christian
|
|