[python-win32] COM Dispatch w/multiple sessions?

2008-05-06 Thread Roger Upole
Adam Pletcher wrote: I have a tool that interacts with a COM server created by a third-party application. My users sometimes need to open mutiple copies of that application. You can probably guess where this is going. Is there any way to tell win32com.client to connect to a specific

[python-win32] Create a System DSN which points to a MSSQL Database on remote machine

2008-05-06 Thread siddhartha veedaluru
Hi, I'm trying to create a Sytem DSN which points to a MSSQL Database on remote machine. i tried using the following code snip in the following link http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/414879 i customized the script according to my requirements and it got created but i could

[python-win32] DDE AddTopic after server started

2008-05-06 Thread Rickey, Kyle W
I've got a simple DDE Server running that I would like to add/remove topics to on the fly. The reason for doing this is my application uses subprocess to open other programs which will then communicate back to mine using DDE. The topic will never be exactly the same though, because the subprocess

[python-win32] Vista and listening sockets

2008-05-06 Thread le dahut
Hello, When launching an app that opens a socket, windows Vista complains that I have to accept it before it is launched and then that the firewall accepts the opening of the port. Is there a way to register my app to be launched by users without UAC warning ? Is there a way to open the

Re: [python-win32] Vista and listening sockets

2008-05-06 Thread Dahlstrom, Roger
One would hope that there is no way to accomplish what you are looking to do. The user could, however, turn off their security, or register your app to run as administrator. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of le dahut Sent: Tuesday, May

Re: [python-win32] Vista and listening sockets

2008-05-06 Thread Tim Roberts
le dahut wrote: Hello, When launching an app that opens a socket, windows Vista complains that I have to accept it before it is launched and then that the firewall accepts the opening of the port. Is there a way to register my app to be launched by users without UAC warning ? Is there a

Re: [python-win32] Vista and listening sockets

2008-05-06 Thread Mark Hammond
Tim wrote: You can tweak the firewall settings, but you have to be UAC to do so, because you have to write to the HKEY_LOCAL_MACHINE registry hive. Note you can also do it via COM - see http://mail.python.org/pipermail/python-win32/2006-May/004694.html (although I'm quite certain you will