quote:
Originally posted by The_Joker
quote:
Originally posted by Ezra
Only thing I can think of is that the key doesn't excist...
I checked it exists.
It works okay with Debug.Trace but return doesn't.
Also I checked with regedit, it's there.
There is nothing wrong in that
latest code. The error is as Ezra suggested the key value you give to the function which doesn't exit or whatever. It works fine here.