I am using a module by KayJay that I found in the codebank. Which I've attached
Although I seriously doubt the fault is in there.
I'm trying to access a certain key in the registry. and save to it works using this:
VB Code:
Call SaveSettingString(HKEY_CURRENT_USER, "\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "User Agent", cmbUA.Text)
But I have trouble when reading the key using this:
it just return a blank stringVB Code:
MsgBox GetSettingString(HKEY_CURRENT_USER, "\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "User Agent")
Why is this happening? Why don't I get what has been saved?





Reply With Quote