Is there any problems running the api calls to the registry through a dll. I took the code from this thread:

http://forums.vb-world.net/showthrea...threadid=59606

i moved the code into a class module for the dl and it compiled fine. I make any calls and it does nothing. ran fine in a regular module called from a form. Any one know whats wrong.