PDA

View Full Version : About Registry value...


Dexity
02-08-2003, 02:08 PM
Hi !

I would like to modify a registry value.
I can add, delete, modify all values but one... (yay !)

It's in a shell/open/command/(default value)
I need to know the generic name for "default value"...

When I save the regedit branch with regedit.exe, I have :
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\MyApp.dll\Shell\Open\Command]
@="\"J:\\autoplay.exe\" \"%1\"" REG_SZ

...where '@' means the "default value" of the registry.

Of course I've read the help, tried several possibilities, but I can't find that one.

Someone knows what I have to fill in the "value" name for the set.value registry box ?

Thanks for your help.

Lorne
02-10-2003, 10:17 AM
From the help topic for Registry.SetValue:

<font color=green>
Value name:
The name of the value that you want to set. (If it doesn't exist yet, it will be created.)

Note: use "(default)" if you want to set the default value for this Registry key.
</font color=green>

(If that isn't in your help file, make sure you have the latest version of AutoPlay installed.)

Dexity
02-19-2003, 03:21 AM
Hi.

Excuse me for taking your time, bugging you, make you spend time looking for stupid answers. I was stupid. The reason that I couldn't make the registry trick work is... er... ^_^; I've reinstalled windows lately and my autoplay was the first release, v4.000... I forgot to update it ! what nonsense !

Sorry again for taking your time...

Lorne
02-19-2003, 09:18 AM
No need to apologize. That happens to all of us at one point or another. /ubbthreads/images/icons/smile.gif