Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. exe of the operating system

exe of the operating system

Scheduled Pinned Locked Moved Visual Basic
helpcsharpwindows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amaneet
    wrote on last edited by
    #1

    Sir, I was displaying the exe that are present in my computer.For that I am using the Recursive function.The process is very long operation. So i found an alternative , which is , I can find out the exe's that are present in my registry.(HKEY_LOCAL_MACHINE). Can i list all the exes using the registry.in vb.net 2005. There is one another problem like there is a yahoo messenger installed on my machine. There is an exe called YahooMessenger.exe and YServer.exe and YMSGR_Tray.exe Out of these only the actual Yahoomessenger needs to be shortlisted. but my program tells the all. Is there any way out to sort out this as well. Please help. Thanks and regards Pankaj

    C 1 Reply Last reply
    0
    • A amaneet

      Sir, I was displaying the exe that are present in my computer.For that I am using the Recursive function.The process is very long operation. So i found an alternative , which is , I can find out the exe's that are present in my registry.(HKEY_LOCAL_MACHINE). Can i list all the exes using the registry.in vb.net 2005. There is one another problem like there is a yahoo messenger installed on my machine. There is an exe called YahooMessenger.exe and YServer.exe and YMSGR_Tray.exe Out of these only the actual Yahoomessenger needs to be shortlisted. but my program tells the all. Is there any way out to sort out this as well. Please help. Thanks and regards Pankaj

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      amaneet wrote:

      Can i list all the exes using the registry.in vb.net 2005.

      Of course not. Not every exe on your machine exists in the registry, only COM dlls, and files that have been recently used, etc.

      amaneet wrote:

      Is there any way out to sort out this as well.

      Of course. Write a list of files you want to ignore, and write code to ignore them. I see no hard and fast rule, it looks to me like you want to write an exclusion list. On what basis did you want to exclude them ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups