the 259 is from manual:
quote:

EnumValue( )

Action: Allows you to list the names of the registry entries contained in a specific key or subkey.

Syntax: ENUMVALUE ("subkey", index)

Parameters: Subkey
Specifies the key or subkey for which you want to enumerate the value entries.

Index

A numeric value representing the position of the entry whose name you want to discover. Zero (0) represents the first entry in the subkey.
Returns: String Function returns a string representing the entry in the specified key or subkey.
259 Subkey does not exist.
Error code Function failed.

so, if it's blank, there is something weird going on.
_________________________
!

download KiXnet