PDA

View Full Version : How do I delete a valu data with Girder?



Ron
October 13th, 2002, 12:55 PM
:-)

How about assigning a "" empty string to it ?



treg1="";

SteveV
October 13th, 2002, 12:55 PM
Hi mastiff,

First, all the usual warnings about changing the registry and possibly hosing your system.

With that out of the way :) you can use the RegSetValue plugin the set the desired registry entry to an empty string.

In the RegSetValue settings dialog box:

1.) Enter the full key path and name in the "Key\Name" field
2.) Leave the "Value" field blank
3.) Select the "REG_SZ" radio button.
4.) Click Apply and OK

and you're done.

Regards -- Steve

SteveV
October 13th, 2002, 12:55 PM
Your string value name (`<v n# ") looks incorrect.

Try this:

Note: Backing up your registry is recommended!!

1.) Launch RegEdit and naviage to the string value you are trying to change.
2.) In the folder view pane, right click on the Key (open folder) and select "Copy Key Name" from the context menu.
3.) Launch notepad and select paste. You should now have the key path and name in notepad (for example: "HKEY_LOCAL_MACHINE\SOFTWARE\Girder3\HardPlugins\Sl inkE\Misc\myTestKey").
4.) Add a back slash to the end of this line ("HKEY_LOCAL_MACHINE\SOFTWARE\Girder3\HardPlugins\Sl inkE\Misc\myTestKey\"
5.) In RegEdit, click on the string value name you need to change.
6.) Press <F2> This will put the string value name in "rename" mode BE CAREFUL--you dont want to rename the key or BAD THINGS *WILL* HAPPEN :o !
7.) With the string value name in rename mode, right click on the name and select "Copy" from the context menu.
8.) Press the escape button to get out of rename mode and paste the naem you just copied into notepad at the end of the existing line (("HKEY_LOCAL_MACHINE\SOFTWARE\Girder3\HardPlugins\Sl inkE\Misc\myTestKey\myStringNameValue"

9.) Use the entire line from notepad in the RegSetValue plugin's "Key\Name" field.

-- Steve

Mastiff
October 13th, 2002, 12:55 PM
Ho-ho!
I need to delete the value data in a reg string, but keep the string there (only blank). Is this possible, and how?

Thanks a lot in advance!

Mastiff
October 13th, 2002, 12:55 PM
Sorry, I'm a moron (as usual). I meant a reg entry in Windows Xp...

Mastiff
October 13th, 2002, 12:55 PM
Hi again!
I tried, but got the answer that "Value does not excist" on "HKEY_LOCAL_MACHINE\Software\Microsoft\ `<v n# " (the region key for DVDs. Do you have any idea why? DVDGenie is able to delete the key, but that must be done manually, and I want it to happen automatically.

Mastiff
October 13th, 2002, 12:55 PM
Thanks! Now it did what I wanted it to! Now I only need to check if that updates the region coding correctly! But that'll have to wait until I'm done working for this week... :)