2 Attachment(s)
Read Startup Program In Regsity and Put in ListView
I'm trying trying to add a feature to a program i'm working on that puts the start up programs on a system into a listview.
The start up items are stored in the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
What I would like to do is read the Program Name value under the Name Column in the registry and the Data Value under the Data value and put these values into the listview in two seperate columns like Msconfig utility see the screen shot.
I'm familiar with working with the registry in .NET, but I can't seem to get this to work. I believe I would need to loop through each registyvaluename under this key and get the name and value.
Thanks,
Re: Read Startup Program In Regsity and Put in ListView
I see you already posted this here. I posted in your other thread, please post your response/code in this thread though. Maybe mark the other one resolved so no one thinks it is still active.