Not working registry reading
Brought to you by:
szkiba
Hello, here is stack trace:
Thread [main] (Stepping)
Reg.exec(String[]) line: 268
Reg.regExport(String, File) line: 298
Reg.read(String) line: 187
Reg.<init>(String) line: 69
RegistryHelper.getComputerName() line: 45
XMLHelper.<init>() line: 21
AppManager.<init>(Main) line: 20
Main.<init>() line: 50
Main.main(String[]) line: 223
It's stuck in here, I tried the code from examples on web:
void sample02() throws IOException
{
Reg reg = new Reg("HKEY_CURRENT_USER\\Control Panel");
Reg.Key cp = reg.get("HKEY_CURRENT_USER\\Control Panel");
Reg.Key sound = cp.getChild("Sound");
String beep = sound.get("Beep");
how come even the example doesn't work? what am I doing wrong? Windows 7, 64bit, EN
Hmmm, it seem reg.exe running problem. I never used Windows 7, is there reg.exe in PATH ?
Duplicate of [#39]
Related
Bugs: #39