I have already searched on regenumkeyex in the forum and seen examples from msdn regarding how to use the registry api to save and retrieve settings and I'm still stuck.

What I'm trying to do is use this API in an Active-x control. It works fine in the VB environment but when I deploy it, it no longer works.

Could someone please give me an example...not just the code from msdn...of how to do this? I think the problem is related to the lpreserved parameter. It tells you that it is reserved and must be null but when I pass null to it..it tells me "invalid use of null"

Yikes!

************************************

I have found a temporary fix for this now but would really like a long term answer if anyone has any suggestions.

Thanks,
Katie

[Edited by barrk on 12-06-2000 at 06:49 PM]