Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Add Entry to Registry
Name: Mario Date: November 11, 2002 at 08:34:21 Pacific OS: Win2K CPU/Ram: 1.7 Ghz, 512 MB
Comment:
I am trying to create a small program to add a few entries into the registry but I have some questions on how to do it. I know I have to use the addEntry command, but I how do I write the entry. To I have to type it all out or is there some way of shorteneing it? i.e
public void addEntry(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\EnableOplocks entry) throws java.lan.string Entry_Already_Present
Is this correct, or what do I need to do to it for it to work properly? I believe after this I need to do a setEntry to set the value of the new entry. Also the entry has to be a Reg_DWORD, do I have to do something different for this?
Name: Jeff J Date: November 11, 2002 at 16:54:16 Pacific
Reply:
What package is this from? I am not familiar with any Windows registry stuff from Sun (is the $un vs. M$ war over?), and none of the 3rd-party ones I know of have an addEntry method.
Summary: Hi all, I'm new here and I really hope you guys can help me with this. I want to add the current path variable to a registry key but it won't be added if I don't use a double backslash (ie: C:\\Window...
Summary: You just can't add text to a jpg image. 1 - uncompress the image. 2 - to create the text image. 3 - Overlay text image over jpg image 4 - recompress to jpg. A Perl script calling other programs could....