|
|
#1 |
|
Member
Join Date: Apr 2006
Location: Somewhere in Germany
Posts: 81
|
Howto ReadRegStr (default) Subkeys?
Hi Community.
I have a strange behaviour here: PHP Code:
Section 2 says "No" (HKLM\Software\Microsoft does not exists but it does) Also, these screenshots seems pretty interessting: ![]() ![]() ![]() Now I am confused. All I need is to know if the SubKey is there or not. But how can I do this when there is no "default"? |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
are you sure it's not just the lack of a backslash in your code?
"SoftwareMicrosoft" -> "Software\Microsoft" ? |
|
|
|
|
|
#3 | |
|
Member
Join Date: Apr 2006
Location: Somewhere in Germany
Posts: 81
|
Quote:
Thnx4ur reply. |
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Regedit shows 'Wert nicht gesetzt' (Value not set) for your value which means there isn't one.
Stu |
|
|
|
|
|
#5 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
odd (the backslash)
anyway - try with EnumRegKey instead, perhaps? code: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|