Results 1 to 23 of 23

Thread: cant read the registry

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    cant read the registry

    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:
    1. 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:
    VB Code:
    1. MsgBox GetSettingString(HKEY_CURRENT_USER, "\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "User Agent")
    it just return a blank string

    Why is this happening? Why don't I get what has been saved?
    Attached Files Attached Files
    Have I helped you? Please Rate my posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width