[python-win32] problem wih vi.run

2005-09-01 Thread Ananda Regmi
Hello Everybody,   I am running into a strange problem while running a vi through python.  Below is my sample code. lv = win32com.client.Dispatch("LabVIEW.Application.7.1") file_path = 'C:\\Documents and Settings\\administrator\\My Documents\\Python Files\\testvi.vi' vi=lv.GetVIReference(file_pat

[python-win32] Sample DDE server code

2005-09-01 Thread apocalypznow
Hi, I am looking for some sample DDE server code. I have been examining the one that came with win32all located in \python\Lib\site-packages\win32\Demos\dde but don't see anything in there that responds to a Poke from a client. I have a client application that sends pokes to a DDE server, and

[python-win32] Re: win32com, pythoncom

2005-09-01 Thread Roger Upole
>From looking at the idl files in the sdk, all the interfaces are based on IDispatch, so this should be doable. To create a com server, you use a class that implements the methods of the interface and register it with your guid and the IID of the interface it represents. See the Quick start to serv

Re: [python-win32] Python Asynchronous I/O library (pyasynchio) [currently win-only]

2005-09-01 Thread Vladimir Sukhoy
> (but I'm not sure writing large if-else trees and state machines is that > much easier than implementing hook methods, Yes, but the decision about how exactly to do that is up to library user. I tried to build library which can be easily plugged into existing code w/o need for serious reengineer

[python-win32] Fwd: problem wih vi.run

2005-09-01 Thread Ananda Regmi
Hello Everybody,   I am running into a strange problem while running a vi through python.  Below is my sample code. lv = win32com.client.Dispatch("LabVIEW.Application.7.1") file_path = 'C:\\Documents and Settings\\administrator\\My Documents\\Python Files\\testvi.vi' vi=lv.GetVIReference(file_pa

[python-win32] Creating an Exchange mailbox for an Active Directory user

2005-09-01 Thread Suzuki Alex
Hi all, I'm trying to create an Exchange mailbox for an existing user in the Active Directory. Apparently the CDOEXM.IMailBoxStore interface method CreateMailBox does this. My problem is I don't know how to get an object that supports this interface. Until now, I managed to do all Active Directory