Re: [python-win32] Accessing non-default folders in Outlook 2010?

2011-08-25 Thread Anders Schneiderman
When I tried it: folders = outlook.GetRootFolder() I got the following error message: AttributeError: object has no attribute 'GetRootFolder FYI, when I do: print dir(outlook) that method doesn't show up: ['AddStore', 'AddStoreEx', 'CLSID', 'CompareEntryIDs', 'CreateContactCard',

[python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Jacob Kruger
Thought this problem was specific to pyaudiere, but now got same thing when tried to test using py2exe on a very small, test wxPython app to make sure it was worth focusing on this in terms of GUI's etc., but it again tells me the same thing. Typed in following command line code using sort of

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Werner F. Bruhin
Hi Jacob, On 08/25/2011 03:02 PM, Jacob Kruger wrote: Thought this problem was specific to pyaudiere, but now got same thing when tried to test using py2exe on a very small, test wxPython app to make sure it was worth focusing on this in terms of GUI's etc., but it again tells me the same

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Jacob Kruger
Ok, where should I include that exclude line? I tried just copying it into the setup.py file a bit higher up, but not sure if needs to be specifically included in some part of it, and I found out if I also tried to tell it not to copy the MSVCRT subfolder it still generates that error so it

[python-win32] Issue with inserting Microsoft Excel charts into Word

2011-08-25 Thread Tom
Hello all, I am writing a reporting application that uses word's COM interface. I recently found myself needing to insert a chart into the document, and the AddChart method seemed ideal ( http://msdn.microsoft.com/en-us/library/bb226069(v=office.12).aspx). The code is this: image_chart =

Re: [python-win32] Accessing non-default folders in Outlook 2010?

2011-08-25 Thread Tim Roberts
Anders Schneiderman wrote: When I tried it: folders = outlook.GetRootFolder() I got the following error message: AttributeError: object has no attribute 'GetRootFolder Hmmm. Are you able to refer to outlook.Folders(0)? http://support.microsoft.com/kb/208520/EN-US -- Tim Roberts,

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Tim Roberts
Jacob Kruger wrote: Typed in following command line code using sort of standard setup.py file that works on other things like my mapData IF engine, but did change the name of the .py file it should process: python setup.py py2exe The last 2 lines rendered in that window are then the

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Werner F. Bruhin
On 08/25/2011 04:30 PM, Jacob Kruger wrote: Ok, where should I include that exclude line? I tried just copying it into the setup.py file a bit higher up, but not sure if needs to be specifically included in some part of it, and I found out if I also tried to tell it not to copy the MSVCRT

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Jacob Kruger
Custom extensions? Not in VS.Net itsself, and aside from other general stuff on machine, it still works for the other python code, and only seems to generate this error/issue when trying to generate .exe files for these two pieces that make use of either piaudiere or now wxPython as such.

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Mark Mordeca
Hi, Python is built using 2008. You can find this in the readme.txt under the PCbuild folder (from the 2.7.2 source at least): This directory is used to build Python for Win32 and x64 platforms, e.g. Windows 2000, XP, Vista and Windows Server 2008. In order to build 32-bit debug and release

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Tim Roberts
Mark Mordeca wrote: Hi, Python is built using 2008. You can find this in the readme.txt under the PCbuild folder (from the 2.7.2 source at least): Memory fault on my part. I was thinking they had bypassed 2008 and gone from 2005 straight to 2010, but I see both 2.6 and 2.7 use VS2008. --

Re: [python-win32] Recurring DLL error with py2exe

2011-08-25 Thread Werner F. Bruhin
Tim and Mark, On 08/25/2011 07:29 PM, Tim Roberts wrote: Mark Mordeca wrote: Hi, Python is built using 2008. You can find this in the readme.txt under the PCbuild folder (from the 2.7.2 source at least): Memory fault on my part. I was thinking they had bypassed 2008 and gone from 2005