Re: [python-win32] adodbapi returns None for text field in first row

2010-12-30 Thread Vernon Cole
Scott: Something is indeed fishy. What os, version of python, and version of pywin32 are you using? As an attempt to duplicate your result, I built a table "tblTemp" on my Windows Vista laptop's SQL express 2008 with three VarChar fields and loaded two rows of data. I defined an ODBC DSN to poin

Re: [python-win32] Com server on 64 bit Windows 7

2010-12-30 Thread vijayendra bapte
On Fri, Dec 31, 2010 at 7:56 AM, Mark Hammond wrote: > On 29/12/2010 9:40 PM, vijayendra bapte wrote: > >> I have created dll file using `python setup_VI.py py2exe` and then tried >> to register it using `regsvr32 test_icon_overlay.dll`. Registration >> fails with windows error message "Error 0x80

[python-win32] Push back window (i.e. change its z-order)

2010-12-30 Thread reckoner
Given a window handle with (x,y,dx,dy) rectangle, I'm trying to push the window back (in other words, change its z-order) using the following: win32gui.SetWindowPos(handle, win32con.HWND_BOTTOM, x, y, dx, dy, win32con.SWP_NOMOVE+win32con.SWP_NOSIZE+win32con.SWP_NOREPOSITION) but it's not wo

Re: [python-win32] Com server on 64 bit Windows 7

2010-12-30 Thread Mark Hammond
On 29/12/2010 9:40 PM, vijayendra bapte wrote: I have created dll file using `python setup_VI.py py2exe` and then tried to register it using `regsvr32 test_icon_overlay.dll`. Registration fails with windows error message "Error 0x80040201 while registering shell extension". I guess trying to tr

[python-win32] adodbapi returns None for text field in first row

2010-12-30 Thread Halgrim, Scott
Has anybody ever had an issue like this? I submit a query to a table and everything works out fine, except for one column in one row. The column of type text in the first row returned is always None. I've modified the query by adding a WHERE clause so that a different row was the first one re

Re: [python-win32] make a window transparent using win32?

2010-12-30 Thread Tim Roberts
reckoner wrote: > by the way, quick question, do you know of a way to "get" the extended > style bits? I haven't been able to find anything on MSDN. In other > words, if I do as you suggest below for a few windows, how can I query > those windows again to see if those bits that I previously set

Re: [python-win32] make a window transparent using win32?

2010-12-30 Thread reckoner
Dear Tim: by the way, quick question, do you know of a way to "get" the extended style bits? I haven't been able to find anything on MSDN. In other words, if I do as you suggest below for a few windows, how can I query those windows again to see if those bits that I previously set using SetWi

Re: [python-win32] Using ctypes - solved

2010-12-30 Thread Aahz
On Mon, Dec 27, 2010, Dave Angel wrote: > > One of the first things I do on a Windows installation is to reverse > many of the preferences in Windows Explorer. The one that's wrong > on your system is called something like "hide extensions of known > type". The Explorer defaults are set up for som