Dear,

Good news. Thanks for your feather, but still we can't fly.

The only special IF/ENDIF is:

IF (len($icode) <> 0) AND (Instr("123456789",Substr($icode,1,1)) <> 0)

Explanation:
  • (len($icode) <> 0)
    an empty entry may result in a registry key like:
    "HKLM\...\CurrentVersion\Internet Settings\\Cache\Content"
    which isn't a legal key.
  • (Instr("123456789",Substr($icode,1,1)) <> 0)
    internet explorer is using different subkeys for different internet versions
    f.e. 5.0, 5.5, 6.0.
    To speed up and to prevent unexpected effects we only want to serach through
    subkeys starting with a number.
All the other statements are used for verifing ExistKey function
and for showing some debugging information.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA