Re: [python-win32] Extract icon from exe files

2009-04-24 Thread Tim Roberts
EISEN Nicolas wrote: > > I understand I will use these functions, but my problem is to found > how? I have difficulties to understand how use the arguments : I try > some combinations and it's doesn't work. > > Two big problems: > > 1 – When I read MSDN’s API for LoadIcon, How I designed which exe

Re: [python-win32] activate an opened window through the server

2009-04-24 Thread Tim Roberts
belaqziz salwa wrote: > I used subprocess.call but I had the following message: > > Could not import process : (-2147217405, 'OLE error 0x80041003', None, > None) > > ** I added this code to my process: > > cmd = 'idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash > @C:\SAMIR\soil.ru

[python-win32] Formatting parts of an excel cell

2009-04-24 Thread Baehr, Manuel
Hi all, I want to format parts of a cell, i.e. change the color of some characters of the cell's content. Does anyone know how to do that? Thanks a lot, Manuel ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinf

Re: [python-win32] Extract icon from exe files

2009-04-24 Thread EISEN Nicolas
Tim Roberts wrote: EISEN Nicolas wrote: Hi, After search, I found many function to get Handler from exe (or dll) file icons . But I don’t understand how use the Handler … For example: />>> Import win32gui i= win32gui.ExtractIcon(0,'e:\\dxdiag.exe',0) icon = win32gui.LoadIcon ( i , 0)

Re: [python-win32] activate an opened window through the server

2009-04-24 Thread belaqziz salwa
I used subprocess.call but I had the following message: Could not import process : (-2147217405, 'OLE error 0x80041003', None, None)         I added this code to my process: cmd = 'idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash @C:\SAMIR\soil.run' retval = subprocess.call(cmd, 0, N