Results 1 to 8 of 8

Thread: Enumerate all installed programs

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    HCMC
    Posts
    21

    Unhappy Enumerate all installed programs

    Hi all,
    Can any body tell me how can I enumerate all installed programs in a computer?

    Thank you very much

  2. #2
    jim mcnamara
    Guest
    If you enumerate all of the entries (except CLASSES) in the registry key HKEY_LOCAL_MACHINE\SOFTWARE.

    There are some problems with this. Entries like Visual Basic 4.0 will show up, but it cannot be run. Also, if the use deleted a directory tree containing a registered program, the software also will not work. The program names are in the level

    HKEY_LOCAL_MACHINE\SOFTWARE\MANUFACTURER NAME\PROGRAM NAME

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    HCMC
    Posts
    21
    Hi jim mcnamara,

    I can not get any information of each program in this key HKEY_LOCAL_MACHINE\SOFTWARE.
    And I also can not find the key: HKEY_LOCAL_MACHINE\SOFTWARE\MANUFACTURER NAME\PROGRAM NAME

    You see, I want to enumerate all installed programs in a computer like "Add/Remove programs" in "control panel"
    looking for your reply
    Thanks
    P/s: can you give me a small code to exam

  4. #4
    jim mcnamara
    Guest
    There is sample code in this thread....

    http://www.vbforums.com./showthread....alled+programs

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    HCMC
    Posts
    21
    Thanks so much, your code works quite well. but as I compare, there are some programs that I get from your program, I can find them in Add/Remove program. can you explain me why?

  6. #6
    jim mcnamara
    Guest
    Post a separate question for Chrisjk - he posted the code to start.

  7. #7
    Member DDfunbags's Avatar
    Join Date
    Aug 2001
    Location
    Isle of Wight, England
    Posts
    50
    Try this...

    Lemme know if it works : )
    I ain't the best coder,
    I ain't the worst coder

    Messanger Handle : FBz

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    HCMC
    Posts
    21

    Thumbs up

    It runs OK, Thanks

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