![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() 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. | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
<< 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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
You don't edit a .reg file, you edit the Windows registry on each client computer.
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.