-
A little help please
Hello all.
DISCLAIMER: This is one of those "Write my whole program for me" type posts. I apologize in advance.
I don't know WinAPI, and am not going to learn it any time soon. But I want a prog that can modify registry values.
Can anyone give me something that:
Determines if a specific registry key/value exists and if so, deletes that key/value. (I am jst trying to automate going into regedit and wiping stuff manually)
Thanks.
-
I will only...
I will only give you hints. You can goto Forger's and learn Win32 API and then look up RegOpenKeyEx(...) etc. at MSDN
-
As I told you, I am not currently in a position where I want to tackle WinAPI. Thanks for the bump though.
-
You cant really expect anyone here to write you a whole program.... but im sure that someone has already done this and will made the source avalible :) go to planetsourcecode.com and search for what your after, there will most likly be bits of code there or better yet a whole program with source for what your after.
Hope that helps,
TNT
-
Well I know I can't get a whole 10 gazzilion line prog, but all I need is the function and how to implement it, in a somewhat straightforward way.
-
Or go to run and type regedit...
Anyhow, I'm feeling benevolent, so here's the function to change reg. values:
Code:
RegSetValue(HKEY_CLASSES_ROOT,".asm",REG_SZ,"C:\\ASMEdit\\ASMEdit.exe",22);
I used it to set the .asm file association with my program.