G Guest Jul 25, 2005 #1 hi, how can i check to see if a registry key exists or not in my program? thanks
P Patrick_ Jul 25, 2005 #2 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.
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.