| |
|
|
 Torsten Rümker | Hi,
i want gladly one Program that I written have of .ini Files on The Registry adjust, therefore have I time with the Opportunities of XProfan engage, and here in the Forum something red.
now position itself for me only another question. How can I, for unwahrscheinlichen drop the someone my Program again uninstalling wants to of me begot Entries again delete?
is Yes still important possible none Garbage To leave behind, haven't we?
MfG Torsten
PS: [...] know I, but me interested a Possibility the whole with Profan-mitteln To make.
PPS: i'm straight noticed (Yes has long gedauert) the it with supra genannter Solution Yes only possible is values To delete, not but the sprigs, is means only a Teillösung. |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 04/04/06 ▲ |
|
|
|
|
 Matthias Arlt | How wärs so: (yet only under 2000/XP tested)
Reg-Key with Unterschlüsseln delete
[box:afe8f959d2] declare RHandle#,RSubKey#,RResult#,RDummy#
proc RegDelKeyEx Key (with Unterschlüsseln) Remove parameters HKEY&,KEY$ declare counter%,ERROR% dim RHandle#,4 dim RSubKey#,255 dim RResult#,100 dim RDummy#,1 string RDummy#,0= external(ADVAPI32,RegOpenKeyExA,HKEY&,addr(KEY$),0,$F003F,RHandle#) whilenot equ(ERROR%,259) ERROR%=external(ADVAPI32,RegEnumKeyA,long(RHandle#,0),0,RResult#,100) case ERROR% : break string RSubKey#,0=@string$(RResult#,0) external(SHLWAPI,SHDeleteKeyA,long(RHandle#,0),RSubKey#) wend external(SHLWAPI,SHDeleteKeyA,long(RHandle#,0),RDummy#) external(ADVAPI32,RegCloseKey,long(RHandle#,0)) dispose RHandle# dispose RSubKey# dispose RResult# dispose RDummy# endproc
Bsp.: RegDelKeyEx($80000001,SoftwareTestsoft) [/box:afe8f959d2] because of Abwärtskompatibilität bzgl. SHDeleteKeyA Related MSDN... |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 04/05/06 ▲ |
|
|
|
|
 Torsten Rümker | Jep very something like ought to it his.
means is it so How I it me thought, It's all right not Profaneigenen command. Schade.
OK, I thanks you. now can I me Yes good conscience on it make The Registry To using.
MfG Torsten Rümker |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 04/05/06 ▲ |
|
|
|