Re: [python-win32] inserting an image in a word (2003) document

2011-06-01 Thread Michel Claveau
Hi! Try: sel = self.app.Selection sel.InlineShapes.AddPicture(C:\\monimage.jpg,False,True) @-salutations -- Michel Claveau ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Excel stopped working after reading in sheet names

2011-06-01 Thread Mark Mordeca
Thanks for your reply. I tested this on another box and I did not get the error. I then tried different code that uses COM to manipulate Excel on my machine which I know works and has worked in the past and I ended up getting the error with that code. So I know for sure it is the local install

[python-win32] Trying to get py2exe to install/work on my windows7 64 bit machine

2011-06-01 Thread Jacob Kruger
When I try installing: py2exe-0.6.9.win64-py2.7.amd64.exe It tells me: Cannot install Python version 2.7 required, which was not found in the registry. Any thoughts/suggestions? When I ran: pywin32-216.win32-py2.7.exe it was quite happy to install to c:\python27 Have tried restarting machine,

Re: [python-win32] Trying to get py2exe to install/work on my windows7 64 bit machine

2011-06-01 Thread Preston Landers
Looks like you downloaded the 64 bit version of py2exe but are trying to use it with the 32 bit version of Python. Either get the 64 bit version of Python 2.7, or else the 32 bit version of py2exe. good luck, Preston On Wed, Jun 1, 2011 at 11:24 AM, Jacob Kruger jac...@mailzone.co.za wrote: