Most recent edit on 2006-06-06 13:56:56 by RobS
Additions:
Store and Read Global Parameters
Often we have to get global parameters changed only by the developer. Traditionally we store it in a parameter file and link. The disadvantage are links in many programs and partly locking problems.
- Build a file with two fields: key and value.
- Fill the records only as developer
- Write a programme that read this file
Load at runtime start (application Properties=start program)
Record Main
Select Real key (A)
Select Real value (B)
Records Suffix
To read the constants at programmes use:
... to be continued
Deletions:
Solve problems with .chm files
Many people download the mga.chm and other .chm files and store them somewhere on a network drive. However, when they try to open the mga.chm file, they can see the list of messages in the left hand pane, but "File not found" in the right hand pane.
The same experience have people who are accessing the Magic Help file (Mghelpw.chm) from the Network.
Background information
After you install Windows Security Update Number 896358, certain HTML Help features may not work as expected. The problem occurs if the .chm file you are accessing is residing at a remote location on your network.
Edit your registry and change the value for MaxAllowedZone from "0" to "2" for the key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000002
The default value of MaxAllowedZone is zero. This value decides how access to different zones is allowed as explained in the table below.
Enable only those security zones that you trust. Do not enable security zones about which you are not sure.
MaxAllowedZone Local Machine zone Local intranet zone Trusted sites zone Internet zone Restricted sites zone
0 Allowed Blocked Blocked Blocked Blocked
1 Allowed Allowed Blocked Blocked Blocked
2 Allowed Allowed Allowed Blocked Blocked
3 Allowed Allowed Allowed Allowed Blocked
4 Allowed Allowed Allowed Allowed Allowed
For more details on this issue you may also check the links below provided by Microsoft:
http://support.microsoft.com/kb/896054/∞
http://support.microsoft.com/kb/896358/∞
Edited on 2006-06-06 13:45:03 by RobS
Additions:
Solve problems with .chm files
Many people download the mga.chm and other .chm files and store them somewhere on a network drive. However, when they try to open the mga.chm file, they can see the list of messages in the left hand pane, but "File not found" in the right hand pane.
The same experience have people who are accessing the Magic Help file (Mghelpw.chm) from the Network.
Background information
After you install Windows Security Update Number 896358, certain HTML Help features may not work as expected. The problem occurs if the .chm file you are accessing is residing at a remote location on your network.
Edit your registry and change the value for MaxAllowedZone from "0" to "2" for the key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000002
The default value of MaxAllowedZone is zero. This value decides how access to different zones is allowed as explained in the table below.
Enable only those security zones that you trust. Do not enable security zones about which you are not sure.
MaxAllowedZone Local Machine zone Local intranet zone Trusted sites zone Internet zone Restricted sites zone
0 Allowed Blocked Blocked Blocked Blocked
1 Allowed Allowed Blocked Blocked Blocked
2 Allowed Allowed Allowed Blocked Blocked
3 Allowed Allowed Allowed Allowed Blocked
4 Allowed Allowed Allowed Allowed Allowed
For more details on this issue you may also check the links below provided by Microsoft:
http://support.microsoft.com/kb/896054/∞
http://support.microsoft.com/kb/896358/∞
Deletions:
Store and Read Global Parameters
Often we have to get global parameters changed only by the developer. Traditionally we store it in a parameter file and link. The disadvantage are links in many programs and partly locking problems.
- Build a file with two fields: key and value.
- Fill the records only as developer
- Write a programme that read this file
Load at runtime start (application Properties=start program)
Record Main
Select Real key (A)
Select Real value (B)
Records Suffix
To read the constants at programmes use:
... to be continued
Edited on 2005-07-30 19:46:55 by NorbertGutscher
Additions:
Categories
CategoryHowTo
Edited on 2005-07-11 21:57:39 by NorbertGutscher
Additions:
Store and Read Global Parameters
Deletions:
Store Global Parameters
Edited on 2005-07-11 21:56:00 by NorbertGutscher
Additions:
Load at runtime start (application Properties=start program)
Deletions:
Load at runtime start (application Properties=start program
Edited on 2005-07-11 21:55:48 by NorbertGutscher
Additions:
Load at runtime start (application Properties=start program
Record Main
Select Real key (A)
Select Real value (B)
Records Suffix
Evaluate SETPARAM (A,B)
To read the constants at programmes use:
GETPARAM ('KEY')
Deletions:
A = key
B = value
SETPARAM (A,B)
Load at runtime start
Edited on 2005-07-11 21:43:30 by FrankVanHerreweghe
Additions:
1) Build a file with two fields: key and value.
Deletions:
1) Bild a file with two fields: key and value.
Edited on 2005-07-11 21:23:17 by NorbertGutscher
Additions:
Often we have to get global parameters changed only by the developer. Traditionally we store it in a parameter file and link. The disadvantage are links in many programs and partly locking problems.
Deletions:
Often we have to get global parameters changed only by the developer. Traditionally we store it in a parameter file and link. The disadvantage are links in many programs ans partly locking problems.
Edited on 2005-07-11 21:22:56 by NorbertGutscher
Additions:
Often we have to get global parameters changed only by the developer. Traditionally we store it in a parameter file and link. The disadvantage are links in many programs ans partly locking problems.
... to be continued
Deletions:
Often we have to get global parameters changed only by the developer. Traditionally we stora it in a parameter file and link. The disadvantage are links in many programs ans partly locking problems.
Oldest known version of this page was edited on 2005-07-11 21:22:21 by NorbertGutscher [first to be continued...]
Page view:
CategoryHowTo
Store Global Parameters
Often we have to get global parameters changed only by the developer. Traditionally we stora it in a parameter file and link. The disadvantage are links in many programs ans partly locking problems.
Solution
- Bild a file with two fields: key and value.
- Fill the records only as developer
- Write a programme that read this file
A = key
B = value
SETPARAM (A,B)
Load at runtime start