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
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
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,
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: