Results 1 to 7 of 7

Thread: best way to access registry? [Resovled]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    best way to access registry? [Resovled]

    What is the best way to access the registry? I've always used WScript.Shell, but should I use API to access it?


    Thanks,
    Sir Loin
    Last edited by Sir Loin; Jun 28th, 2005 at 08:05 PM.

  2. #2
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: best way to access registry?

    Why don't you look into "getsetting" and "Savesetting"
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: best way to access registry?

    There is a whole bunch of registry APIs so go to allapi.net and download few utilities with samples.

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: best way to access registry?

    Here is a module that you can use to read and write to anywhere from the registry.
    Attached Files Attached Files

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Re: best way to access registry?

    Thanks! I'm going to have to learn how to use API to access the registry because on one of my computers I can use "WScript.Shell" because I get a "ClassFactory" error. I think my virus scanner deleted "Wshom.ocx" and I think that is needed in order to use Windows Script Host Object Model...


    Thanks,
    Sir Loin

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: best way to access registry?

    Here is a sample that doesn't use that module, but shows you how to get info from the registry.
    Attached Files Attached Files

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Re: best way to access registry?

    Thanks! oops...the face is pretty gay.... there....

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