actually my original query should have been


kedaman,

how do I use ur code to read:

HKEY_CURRENT_USER\Control Panel\desktop\ScreenSaveUsePassword"

I used regval(HKEY_CURRENT_USER\Control Panel\desktop\ScreenSaveUsePassword" )

but was unable to retrieve the value.

Thanx.

Sorry abt the confusion!