Navigation:  thinBasic Modules > Registry >

Registry_DelKey

Previous pageReturn to chapter overviewNext page

 

Description

 

Delete a registry key.

 

Syntax

 

n = Registry_DelKey(HKEY, MainKey)

 

Returns

 

Number. %TRUE in case of success.

 

Parameters

 

Name

Type

Optional

Meaning

HKEY

String

No

Can be one of the following strings:

"HKEYCR"        (%HKEY_CLASSES_ROOT)

"HKEYCU"        (%HKEY_CURRENT_USER)

"HKEYLM"        (%HKEY_LOCAL_MACHINE)

"HKEYU"        (%HKEY_USERS)

"HKEYCC"        (%HKEY_CURRENT_CONFIG)

MainKey

String

No

The requested key path

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com