RegistryItem.Child
From Real Software Documentation
Method
| This method is only available on the Windows platform. For cross-platform development, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
Returns the child named as a RegistryItem. Returns a RegistryItem.
// get a registry key
dim reg as new RegistryItem("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion")
dim lines() as string
// now we look on all child keys
dim u as integer = reg.FolderCount-1
for i as integer = 0 to u
lines.Append "Child: "+reg.item(i).path
next
// and display the pathes in a dialog box
MsgBox Join(lines,endofline)
dim reg as new RegistryItem("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion")
dim lines() as string
// now we look on all child keys
dim u as integer = reg.FolderCount-1
for i as integer = 0 to u
lines.Append "Child: "+reg.item(i).path
next
// and display the pathes in a dialog box
MsgBox Join(lines,endofline)
