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: Double click open modules default to read only
Topic Summary:
Created On: 7-Sep-2004 20:51
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.
Answer This question was answered by Louie Landale, on Thursday, September 9, 2004 7:23 PM

Answer:
In DOORS 5, add
defopenmode=READ_ONLY
defopenlinkmode=READ_ONLY

to your DOORS.ini. The first is for double clicking, the second is when you follow a link indicator.

In DOORS v6, and v7 create a file "DOORS_OpenMode.reg" and insert the following 5 lines.
REGEDIT4

[HKEY_Local_Machine\Software\Telelogic\DOORS\6.0\Config]
"defopenmode" ="READ_ONLY"
"defopenlinkmode" ="READ_ONLY"

Use "7.0" for version 7.
Double click on this file in Windows Explorer, and yes confirm updating the Registry. If you get some sort of "no permission" error, then change "HKEY_LOCAL_MACHINE" to "HKEY_CURRENT_USER" (you have no software-load rights to your computer). That will update it for the current user only.

Exit DOORS, then run DOORS.

Before running the Registry update, I'd manually open the Registry (run file "regedit.exe") to be sure the path in the file is correct.

I don't have v71 loaded yet but do NOT think you'd use path "7.1".\

- Louie

Oh joy, now poke around in your registry. That's like pointing an unloaded gun at your head.
 7-Sep-2004 20:51
User is offline View Users Profile Print this message


Andrew Mellinger

Posts: 31
Joined: 11-Aug-2004

During traing the trainer mentioned that the behavior of double-clicking module opens could be changed from exclusive edit to read only.

Does anyone know how to do this?

Thanks,
Andrew
Report this to a Moderator Report this to a Moderator
 7-Sep-2004 22:43
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
In DOORS 5, add
defopenmode=READ_ONLY
defopenlinkmode=READ_ONLY

to your DOORS.ini. The first is for double clicking, the second is when you follow a link indicator.

In DOORS v6, and v7 create a file "DOORS_OpenMode.reg" and insert the following 5 lines.
REGEDIT4

[HKEY_Local_Machine\Software\Telelogic\DOORS\6.0\Config]
"defopenmode" ="READ_ONLY"
"defopenlinkmode" ="READ_ONLY"

Use "7.0" for version 7.
Double click on this file in Windows Explorer, and yes confirm updating the Registry. If you get some sort of "no permission" error, then change "HKEY_LOCAL_MACHINE" to "HKEY_CURRENT_USER" (you have no software-load rights to your computer). That will update it for the current user only.

Exit DOORS, then run DOORS.

Before running the Registry update, I'd manually open the Registry (run file "regedit.exe") to be sure the path in the file is correct.

I don't have v71 loaded yet but do NOT think you'd use path "7.1".\

- Louie

Oh joy, now poke around in your registry. That's like pointing an unloaded gun at your head.
Report this to a Moderator Report this to a Moderator
 8-Sep-2004 08:47
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003



<< Oh joy, now poke around in your registry. That's like pointing an unloaded gun at your head. >>


That would be a loaded gun, I think...

But seriously, where do you find all this stuff? Or is it just that you've been messing with DOORS for so long that you're into the heads of the developers (heaven forbid!)? That's some very useful information, thanks!

Paul.

-------------------------


Paul dot Tiplady at TRW dot com
TRW Automotive

Edited: 8-Sep-2004 at 08:49 by Paul Tiplady
Report this to a Moderator Report this to a Moderator
 8-Sep-2004 10:20
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

These are actually documented. Well, in a roundabout sort of way...

See the DOORS help (not DXL help) section "Summary of command line switches".

If you also look at the section "Settings in the registry" it states that the keywords are the same as the command line switches.

All the same you do need a bit of confidence (or luck) to start hacking the registry with so little documented help at hand.


-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 8-Sep-2004 10:42
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003

So that's where I'm going wrong. I've got so hung up on writing the DXL I haven't looked in the DOORS manual at all. I think I'd better go and RTFM before I start to look completely useless...

-------------------------


Paul dot Tiplady at TRW dot com
TRW Automotive
Report this to a Moderator Report this to a Moderator
 8-Sep-2004 14:27
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Well actually, I HAVE been messing with this so long I can get into the developer's heads. And that's better than trying to get into the US-help folk's heads.

RTFM doesn't cut it alone. That will get you a good clue about a lot of stuff, but you've still got to experiment with it. For example, the "REGEDIT4" command is used (instead of the newer "Windows Registry Editor Version 5.00") so these Reg files will work on older versions of Windows.

While we are at it, run this DXL:
setenv("MyTempVariable", "MyTempValue") // Set Environment Variable

Now go to Registry [HKEY_CURRENT_USER\Software\Telelogic\DOORS\7.0\Config] and notice that "MyTempVariable" is there. You CAN use setenv to modify your regular variables (like addins), but it will apply during your NEXT DOORS invocation.

- Louie
Report this to a Moderator Report this to a Moderator
 23-Sep-2004 15:51
User is offline View Users Profile Print this message


Tom Stein

Posts: 4
Joined: 22-Jul-2004

Using Doors 7.1, it HAS to be "7.1" in the registry path.

Besides, I tried HKEY_CURRENT_USER and it failed. Next I tried HKEY_LOCAL_MACHINE and it failed. I tried both an it worked - so check what already is in your registry, there are some side effects.


-------------------------
Tom

http://www.transport.bombardier.com/
Requirements ERCC

Edited: 23-Sep-2004 at 15:53 by Tom Stein
Report this to a Moderator Report this to a Moderator
 23-Nov-2004 18:35
User is offline View Users Profile Print this message


Srinivas Dasari

Posts: 24
Joined: 13-Dec-2003

Tom,

I have DOORS 7.1 and I am not able to make my modules default to read only. This is what I did:

In DOORS_OpenMode.reg file the lines I inserted are:

REGEDIT

[HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS\7.1\Config]
"defopenmode" = "READ_ONLY"
"defopenlinkmode" = "READ_ONLY"

I didn't what you meant by adding both so I inserted HKEY_CURRENT_USER path also, still it did not work.

Can you help?

Thanks,
Srinivas Dasari
Report this to a Moderator Report this to a Moderator
 23-Nov-2004 22:20
User is offline View Users Profile Print this message


Brian Azelborn

Posts: 36
Joined: 2-Dec-2002

You don't edit a .reg file, you edit the Windows registry on each client computer.
Report this to a Moderator Report this to a Moderator
 24-Nov-2004 00:28
User is offline View Users Profile Print this message


Srinivas Dasari

Posts: 24
Joined: 13-Dec-2003

Then what is this mentioned in the answer field?

-------------------------------------------------------------------------------------------------------------
In DOORS v6, and v7 create a file "DOORS_OpenMode.reg" and insert the following 5 lines.
REGEDIT4

[HKEY_Local_Machine\Software\Telelogic\DOORS\6.0\Config]
"defopenmode" ="READ_ONLY"
"defopenlinkmode" ="READ_ONLY"
-------------------------------------------------------------------------------------------------------------

Srinivas Dasari
Report this to a Moderator Report this to a Moderator
 24-Nov-2004 18:48
User is offline View Users Profile Print this message


Bernd GRAHLMANN

Posts: 7
Joined: 25-Sep-2003

Well, and Louie continued by asking you to execute the .reg file in order to add the entries to your registry:

'Double click on this file in Windows Explorer, ...'

Bernd

-------------------------
Dr. Bernd GRAHLMANN
Requirements Management & DOORS consultant
Cell : +33 6 82 86 68 03
Fax : +33 6 83 86 18 01
e-mail: Bernd@Grahlmann.net
www.grahlmann.net
Report this to a Moderator Report this to a Moderator
 24-Nov-2004 22:00
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

So after making this file and double clicking on it with Windows Explorer, what error are you getting? If its some sort of "bad registry file" then use "REGEDIT4" at the top.

Anyway, this info is loaded by DOORS at startup, so don't expect it to take effect until the NEXT time you run DOORS.
Report this to a Moderator Report this to a Moderator
 8-Dec-2004 22:41
User is offline View Users Profile Print this message


Srinivas Dasari

Posts: 24
Joined: 13-Dec-2003

I found a mechanism to change the options in the desktop shortcut icons' path.

Is there a dxl script way to do this so that all users in the organization can run it to have read only default.

Srinivas
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.