![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: how to pass a bolean from Doors to VB 6 Topic Summary: Created On: 31-Oct-2006 09:29 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
hello DXLiens, does anybody know how to pass a boolean from Doors to VisualBasic 6? |
|
![]() |
|
![]() |
|
You could: -
1) use the "system" command to pass the program a command line argument 2) Have the dxl program write to a file then have the vb6 exe read it 3) Use OLE automation The first option would be my preference for passing one parameter. ------------------------- Regards, Richard Good |
|
![]() |
|
![]() |
|
Sorry, but do you know an example code for how to pass just a single argument to an already running
VB programm? I think system is just a method to start an execution in another environment! -Mussie Edited: 31-Oct-2006 at 12:17 by Mussie Woldemicael |
|
![]() |
|
![]() |
|
From the DXL help file: -
Automation interface DOORS provides an automation interface for other applications to use to control DOORS. This object is called DOORS.Application. It provides two methods that can be called from other applications, along with the property Result. The property, DOORS.Application.Result, allows other applications to exchange information with DOORS in both directions. From DOORS, use the oleGetResult and oleSetResult functions to pass information to and from a Visual Basic program. Example /* This is an example of an Excel macro that calls DOORS, logging in as user 'John Smith' with password 'password', and sets the result message for use with oleGetResult. */ Sub testDoors() Set DOORSObj = CreateObject("DOORS.Application") SendKeys "John Smith" & "{TAB}" & "password" & "{ENTER}", True DOORSObj.Result = "Just checking" End Sub Paul Tiplady provides a nice example of using OLE automation here ------------------------- Regards, Richard Good |
|
![]() |
|
![]() |
|
Hi Mussie, if you are looking at any type of DOORS -> Excel integration, then I would highly recomend you look at http://www.galactic-solutions.com/downloads/GalacticDownloadExcel.htm by Michael Sutherland. This will certainly point you in the right direction if not suit your needs directly.
Rgds Andrew. ------------------------- Andrew Tagg Thales Air Systems, Melbourne Australia. andrew.tagg@thalesatm.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
how to pass a bolean from Doors to VB 6
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.