Re: [python-win32] Why does a python COM server return different data to VBA and Python clients?

2012-04-16 Thread dived38295
Thanks for the reply. I forgot that I had copied Method2 and Method3 from a thread I saw from 2006, 2006-October/005094. That thread just seemed to die without resolution. I was going to include the differences but I determined why it failed. According to the Microsoft support website By

Re: [python-win32] Need advice on iterator implementation in scripting host

2012-04-16 Thread Mark Hammond
On 13/04/2012 9:14 PM, Pulsonix Tech Support wrote: We have an ActiveX scripting host implementation in our application (written in C++), so that users can run scripts to access our data from inside the application. Current problem is that iterating from Python script doesn’t work right. You

Re: [python-win32] PyIMAPIFolder.DeleteFolder ??

2012-04-16 Thread Mark Hammond
On 14/04/2012 1:39 AM, Sriram ET. wrote: I am trying to programatically delete a Contacts folder (that I programatically created using PyIMAPI.CreateFolder), when I get the following exception: AttributeError: 'PyIMAPIFolder' object has no attribute 'DeleteFolder' I can see there is an

Re: [python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-16 Thread Mark Hammond
On 14/04/2012 3:19 PM, Sriram ET. wrote: I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid, None, MOD_FLAG) hr = folder.EmptyFolder(0, None, 0) I get the

Re: [python-win32] PyIMAPIFolder.DeleteFolder ??

2012-04-16 Thread Mark Hammond
On 17/04/2012 3:37 PM, Sriram ET. wrote: On Tue, Apr 17, 2012 at 6:49 AM, Mark Hammond skippy.hamm...@gmail.com mailto:skippy.hamm...@gmail.com wrote: On 14/04/2012 1:39 AM, Sriram ET. wrote: I am trying to programatically delete a Contacts folder (that I programatically