Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
adding a value type to registry
posted 12 years ago
I looked all over Google but couldn't find a workable solution, so maybe someone here will know.
Basically what I'm trying to do is attach a value type to a registry key which gets added from an
The package I import to do this is
Here is an example:
RegistryKey rKey = Registry.CURRENT_USER.createSubKey("testKey"); rKey.setValue("testValue","testData");
But I'm not sure how to add a value type (i.e.
, Binary, DWORD)
I know it's possible because when I decompile one of the class files within the imported package, it has
private static final int REG_DWORD = 4
[ June 05, 2004: Message edited by: Jeff Ostfeld ]
Don't get me started about those stupid
Boost this thread!
Exception: Connection refused to host
Singleton & multithread env.