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

2009-04-20 Thread Tim Roberts
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)/ > >

[python-win32] Extract icon from exe files

2009-04-20 Thread EISEN Nicolas
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)/ Or with ExtractIconEx to get a list o

[python-win32] problem getting printer status in Windows

2009-04-20 Thread Alec Bennett
I'm having trouble getting the printer status in Windows. Ideally I'd like to get the info contained in the "Status" column when you open a printer from the Windows control panel --> printers. I've been using the routine pasted at the end of this email, which works for some printers, but not o

Re: [python-win32] ANN: PyGUI 2.0.2

2009-04-20 Thread Christian K .
Greg Ewing canterbury.ac.nz> writes: > > Christian K. wrote: > > > "c:\pythonxy\python\Lib\site-packages\GUI\Win32\ScrollableViews.py", > > line 31, in __init__ > >GScrollableView.__init__(self, _win = win) > > win32ui.error: The object has been destroyed. > > Do you have any problem runn