Thank you, Thearon. I found what was causing the error: the key wasn't getting set properly in the WDACrypto class. The error has been fixed and I was able to create the registry keys.
I appreciate your help and the books (I read Beginning VB
2005 before this); I've learned quite a bit in the past few months.