Results 1 to 2 of 2

Thread: Changing default value in Reg

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    39

    Changing default value in Reg

    How do I change a defalut value in reg? I have tried using "@" as a key name or (Default) as the key name, but it would just create a new key with that name.

    Thanx.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    I assume you're using the API's, just pass an empty string in the Valuename parameter to specify the "{Default}" value, i.e.
    VB Code:
    1. Call RegSetValueEx(lRegKey, "", 0&, 1, ByVal sData, Len(sData))

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