[python-win32] Window Media Player WMPlayer.OCX

2005-09-15 Thread T. S. Lui
I got a strange problem that I can play media files (mp3 etc) through the Pythonwin.exe with the WMPlayer.OCX. However, it could not be done through the shell. When I checked the player.status, it shows Opening media Please help. Thanks, ts ___ 想即時收到新

[python-win32] win32com events using native interfaces

2005-09-15 Thread Michael Zuercher
I have a COM object that sends events. Rather that have the source interface be 'dispinterface' in the IDL, it is just 'interface'. Is there a way to catch events from this interface using win32com? The IDL for the coclass is below for reference. [

Re: [python-win32] win32com events using native interfaces

2005-09-15 Thread Thomas Heller
Michael Zuercher [EMAIL PROTECTED] writes: I have a COM object that sends events. Rather that have the source interface be 'dispinterface' in the IDL, it is just 'interface'. Is there a way to catch events from this interface using win32com? The IDL for the coclass is below for reference.

Re: [python-win32] WindowsError: (0, 'The operation completed successfully') with compiled prog only

2005-09-15 Thread Thomas Heller
Ray Schumacher [EMAIL PROTECTED] writes: Hi all, anyone seen this? I'm writing a Win98 replacement shell; when I compile with console=[foo] I get no errors logged or in the console, but when compiled with windows=[foo] I get an error when I try to run subprocess: Traceback (most recent

[python-win32] testMSOffice.py and Excel 2003

2005-09-15 Thread Cavanagh, Mike
Hi! We have a couple of internal applications that are written in Python and have always worked with Excel 2000. We are 'upgrading' to Excel 2003 and in my pre-rollout testing, our applications are failing. Using the testMSOffice.py test case, I receive the following: from win32com.test

Re: [python-win32] win32com events using native interfaces

2005-09-15 Thread Mark Hammond
This should be possible with pywin32 - arbitrary interfaces can be *implemented* by pywin32, just not called. You will need to setup the event mechanism just as if they were IDispatch based events. However, you will also need to setup the COM event class to reference the typelib and typelib

Re: [python-win32] Window Media Player WMPlayer.OCX

2005-09-15 Thread Mark Hammond
I got a strange problem that I can play media files (mp3 etc) through the Pythonwin.exe with the WMPlayer.OCX. However, it could not be done through the shell. When I checked the player.status, it shows Opening media Please help. As far as I know, the WMPlayer OCX will only work as a