Re: Writing to Registry

2006-11-17 Thread Samantha
That was the fix. S "Mark Elston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Note: this is untested (since I don't like screwing around > in the registry...) > > Have you tried using REG_DWORD? > > Mark >> -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing to Registry

2006-11-16 Thread Gabriel Genellina
At Thursday 16/11/2006 21:39, Samantha wrote: > http://docs.python.org/lib/module--winreg.html#l2h-5827 Thanks for the link. Notice that surely you already have the full Python documentation, it comes with the standard distribution. -- Gabriel Genellina Softlab SRL _

Re: Writing to Registry

2006-11-16 Thread Mark Elston
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

Re: Writing to Registry

2006-11-16 Thread Samantha
Thanks for the link. S "Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At Thursday 16/11/2006 20:48, Samantha wrote: > >>I am working with this recipes: >>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66011 >> >>The problem I am having is setting a hex v

Re: Writing to Registry

2006-11-16 Thread Gabriel Genellina
At Thursday 16/11/2006 20:48, Samantha wrote: 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 --

Writing to Registry

2006-11-16 Thread Samantha
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 s