Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: How to run DOORS dialog via OLE
Topic Summary:
Created On: 7-May-2004 12:52
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 7-May-2004 12:52
User is offline View Users Profile Print this message


Leo Hippeläinen

Posts: 2
Joined: 23-Feb-2004

Hi experts!

Ultimately, I would like to lauch DOORS filter dialog from MS-Word through OLE automation. File ..\DOORS 7\lib\dxl\standard\filter\filter_advanced.dxl seems promising, but function fnShowFilterUI(true) causes error:

-R-E- DXL: <standard/filter/filter_globals.inc:179> null Module parameter was passed into argument position 1
-I- DXL: <Line:30> execution halted

The same happens if you try to run the script directly from DXL editor. Alas, filter_globals.inc is crypted and I cannot find out how to circumvent the problem. What is wrong?

Leo Hippeläinen
Report this to a Moderator Report this to a Moderator
 7-May-2004 15:15
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

A good guess would be that there is no "current" module.

- Louie
Report this to a Moderator Report this to a Moderator
 13-May-2004 09:38
User is offline View Users Profile Print this message


Leo Hippeläinen

Posts: 2
Joined: 23-Feb-2004

My full script has current module setting before invoking fnShowFilterUI(true). But there is something weird with filter_globals.inc: If I copy/paste from filter_advanced.dxl only these lines to an empty DXL editor window:

#include <utils/tabUtils.inc>
#include <standard/filter/filter_globals.inc>
#include <standard/filter/filter_utils.inc>
#include <standard/filter/filter_gui_attributes.inc>
#include <standard/filter/filter_gui_links.inc>
#include <standard/filter/filter_gui_objects.inc>
#include <standard/filter/filter_gui_columns.inc>
#include <standard/filter/filter_gui.inc>

And try to run it, I still get the same error message, even though there seems to be no DXL program nor any entry point! Consequently, the part of my script that sets the current module is never executed.

May I have more guesses/explanations, please...

Leo
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.