Results 1 to 6 of 6

Thread: How to read Registry tree ?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    17

    How to read Registry tree ?

    Hellow,

    I have such function:

    Private Function Registry_Read(Key_Path, Key_Name) As Variant
    On Error Resume Next
    Dim Registry As Object
    Set Registry = CreateObject("WScript.Shell")
    Registry_Read = Registry.RegRead(Key_Path & Key_Name)
    End Function


    How to read all the keys in Registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN\

    I want to get all programs which RUNS at startup.

  2. #2
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: How to read Registry tree ?

    Windows scripting host cannot enumerate values. Use the registry APIs instead.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    17

    Exclamation Re: How to read Registry tree ?

    Quote Originally Posted by schoolbusdriver
    Windows scripting host cannot enumerate values. Use the registry APIs instead.
    With script or API Please write a SAMPLE how to read ALL the keys in Registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN\

    I want to get all programs which RUNS at startup.
    Last edited by jikopa; Mar 8th, 2007 at 04:01 PM.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    17

    Re: How to read Registry tree ?

    Professionals PLEASE HELP!

  5. #5
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  6. #6
    Addicted Member
    Join Date
    Jun 2006
    Location
    Egypt
    Posts
    162

    Re: How to read Registry tree ?

    APIs can do the job :

    http://www.vbaccelerator.com/home/VB...ol/article.asp

    Have a nice day
    Mohammed Sayed - Egypt - Anesthetist



    =

    =

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