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

2009-04-27 Thread Tim Roberts
EISEN Nicolas wrote: >> > / from win32gui import * >import win32con > >listHicon = ExtractIconEx("c:\OpenOffice.exe",0) > >test = > LoadImage(listHicon[0],"c:\OpenOffice.exe",0,0,0,win32con.LR_DEFAULTSIZE) > > tupleIcon = GetIconInfo(test)/ > > To use GetIconInfo argument

Re: [python-win32] Error 500 on IIS

2009-04-27 Thread Iuri
Oh, sorry. I'm using pywin32-212.win32-py2.6.exe and Python 2.6. I did some tests. Calling a new object with Python Interpreter (Server.CreateObject("Python.Interpreter")), I got this error: Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error /teste.asp, line 3 The call t

Re: [python-win32] Error 500 on IIS

2009-04-27 Thread Vernon Cole
"win32all" is a very old name which is still hanging around in some documentation. The package is now referred to as "pywin32". http://sourceforge.net/projects/pywin32/ Which versions of Python and pywin32 are you using? -- Vernon Cole On Mon, Apr 27, 2009 at 9:22 AM, Iuri wrote: > I installed

[python-win32] Iron Python integration.

2009-04-27 Thread Vernon Cole
This is an opinion poll... The portion of pywin32 which I maintain, adodbapi, will work in either CPython or IronPython. That was (relatively) easy, since it is written in pure Python. Is there any interest in forking the pywin32 C code into C# so that the entire package can be run in a .NET envi

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

2009-04-27 Thread EISEN Nicolas
Tim Roberts wrote: 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

[python-win32] Error 500 on IIS

2009-04-27 Thread Iuri
I installed Python + win32all and tried to run an ASP page (with Python language) on IIS. I got this error: "HTTP/1.1 500 Server Error". I tried to install on a Windows Vista and a Windows Server 2007. On Vista, I'm fixed removing the user ASP.NET and using "asp_iisreg -i" (it's a tip from MSDN). O

Re: [python-win32] Formatting parts of an excel cell

2009-04-27 Thread Mark Tolonen
"Baehr, Manuel" wrote in message news:737a64deb003704788e5ce515ed146054b6...@csmail.comsoft.de... Hi Mark, I got an error with that as well, but I figured out the correct way: import win32com.client xl = win32com.client.gencache.EnsureDispatch('Excel.Application') xl.Visible = True xl.Workb