348
Developing Web Applications with ColdFusion
If the specified value does not exist, ColdFusion creates it. If the value already exists,
ColdFusion updates the value data.
To create a registry key:
Call the CFREGISTRY tag with the SET action, specifying the branch, the entry to set,
specifying KEY for the TYPE attribute:
<CFREGISTRY ACTION="Set"
BRANCH="HKEY_LOCAL_MACHINE\Software\cflangref"
ENTRY="Temp" TYPE="Key">
Deleting Registry Values
You can use CFREGISTRY with the DELETE action to delete registry keys and values.
Note
Be careful when using the DELETE action; if you delete a key,
CFREGISTRY also deletes all values and subkeys defined beneath the key.
To delete a registry value:
Call the CFREGISTRY tag with the DELETE action, specifying the branch and value
name:
<CFREGISTRY ACTION="Delete"
BRANCH="HKEY_LOCAL_MACHINE\Software\cflangref"
ENTRY="LastCFM01">
To delete a registry key:
Call the CFREGISTRY tag with the DELETE action, specifying the branch of the key to
be deleted (including the key name):
<CFREGISTRY ACTION="Delete"
BRANCH="HKEY_LOCAL_MACHINE\Software\cflangref">
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...