News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Launching Regedit.exe

Started by Robert Collins, December 13, 2005, 05:00:36 PM

Previous topic - Next topic

Robert Collins

Quote from: anunitu on December 15, 2005, 01:22:35 AM
I saw this on Sysinternals, and thought you might be interested. it is a commandline program, that takes an input , and calls Regedit, and goes to the specified key...

http://www.sysinternals.com/Utilities/Regjump.html

Not sure if this is what you are trying to do, but thought i would post it.

Anunitu

It's 99% of what I am trying to do. The missing 1% is the ability to put the focus on the data item. For example, I want to take a string like HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProductId and have it go one step further and that is to highlight the 'ProductId' item in the List View.

To get what I want is the reason why I just decided to make my own Regedit program so that I have total control over the Tree View nodes and the List View items.   

Now, if I could get ahold of the source code for his program, I could modify it to do that and that would be alot better than me making my own Regedit program for more reasons than one. I just finished my version of Regedit to do what I want but it does have a few short comings of being 100% like the real Regedit (although, for all practical matters it is the same) but it is user coded and that could lead into some problems if I screwed up somewhere in the code and then all hell broke lose because it wasted the registry. Right now, I am not using it for anything but viewing the target locations and until I'm 100% positive I don't think I want to use it for registry modifications.