exe of the operating system
-
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
-
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
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 )