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 > > -- http://mail.python.org/mailman/listinfo/python-list