tks, it works !
now i am able to create a new var....but now i'am not able to cancel this new var using the function:
oreg:delete(cSubKey)
also using the function RegDeleteKey(oreg:nHandle,cSubKey) (it returns code error 2)
the cSubKey always exists
...additional help ?
tks