Writing to Registry
Mark Elston
m.elston at advantest-ard.com
Thu Nov 16 20:38:28 EST 2006
Note: this is untested (since I don't like screwing around
in the registry...)
Have you tried using REG_DWORD?
Mark
* Samantha wrote (on 11/16/2006 3:48 PM):
> I am working with this recipes:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66011
>
> The problem I am having is setting a hex value.
> This line --- SetValueEx(aKey,"MyNewKey",0, REG_SZ,
> r"c:\winnt\explorer.exe")
> I want something Like -- SetValueEx(aKey,"MyNewSize",0, REG_SZ, 120 or
> some value)
> Help would be appreciated.
> S
>
>
More information about the Python-list
mailing list