Results 1 to 14 of 14

Thread: Change Registries

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Resolved Change Registries

    I am in the middle of coding a program that changes the name of the Recycle Bin, here is the code I have so far.

    VB Code:
    1. Private Sub Command1_Click()
    2. On Error Resume Next
    3. Dim REGIS As IWshShell_Class
    4. Set regis = New IWshShell_Class
    5. regis.RegWrite "HKCU\software\microsoft\windows\currentversion\explorer\clsid" _
    6. & "\{645FF040-5081-101B-9F08-00AA002F954E}\(Default)", Text1.Text, "REG_SZ"
    7. End Sub

    The problem is it doesn't change "(Default)" it makes a new one. How should I fix it?

    Thanks,
    Sir Loin
    Last edited by Sir Loin; Apr 28th, 2005 at 12:38 PM.

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