validate registry key?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi, how can i check to see if a registry key exists or not in my program?
thanks
 
Something like...

<code>
If regKey is nothing then
Messagebox.show("Registry key doesn't exist.")
else
Messagebox.show("Registry key exists!")
end if
</code>

Hope that does the trick? You should be able to figure it out from
there if you want something else, like a DWORD or something. :-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top