[python-win32] ShellExecuteEx

2008-05-07 Thread le dahut
Hello, Still with Vista, when using CreateProcess(...'regedit'...) to save/restore some registry keys I get and error 740 "The requested operation requires elevation". According to msdn ShellExecuteEx should be used instead of CreateProcess. Where Can I find ShellExecuteEx ? Are there other m

Re: [python-win32] ShellExecuteEx

2008-05-07 Thread Mark Hammond
You can generally get away with just using "ShellExecute" - the trick is to use "runas" as the verb. But ShellExecuteEx is in win32com.shell.shell if you really need its extra capabilities. Mark > -Original Message- > From: [EMAIL PROTECTED] [mailto:python-win32- > [EMAIL PROTECTED] On B

[python-win32] how to activate subwindow of the application ???

2008-05-07 Thread neha rai
I am making a tool that needs to open subwindow of another application, enter some text in it click ok and then open the same window again. i am able to put text and click 'OK' but I am not able to open the same window again using the python code. I need some thing that can remember what i opene