[python-win32] Looking for python-win32 version of EasyGUI

2009-02-06 Thread Chaim Krause
I have an very small application that uses a single multichoicebox from EasyGUI. Because of the limitations of tkinter, I cannot get a single exe file using py2exe. I was wondering if anybody had created something similar to EasyGUI, but using python-win32. The idea being that I could replace

Re: [python-win32] LVM_GETITEMPOSITION

2009-02-06 Thread Tim Roberts
Jason Hilton wrote: > Okay, so I am new to python win32 development and I am trying to find > the location of icons on the desktop. I understand that the desktop is > just a listview control so theoretically I should be able to use this > code- > > from commctrl import * > from win32gui import * >

[python-win32] LVM_GETITEMPOSITION

2009-02-06 Thread Jason Hilton
Okay, so I am new to python win32 development and I am trying to find the location of icons on the desktop. I understand that the desktop is just a listview control so theoretically I should be able to use this code- from commctrl import * from win32gui import * from ctypes import * class POINT

Re: [python-win32] Unable to connect to MSSQL Database(x64) using pyodbc 32bit & python 32bit

2009-02-06 Thread Vernon Cole
Siddhartha: This seems to be a pyodbc question, and would be best answered on their discussion group. Try http://groups.google.com/group/pyodbc The SQL dbapi interfaces which ship with pywin32 are odbc and adodbapi. Nevertheless, your very long DSN string gives me pause. You might try going back

[python-win32] Unable to connect to MSSQL Database(x64) using pyodbc 32bit & python 32bit

2009-02-06 Thread siddhartha veedaluru
Hi all, I trying to connect to MSSQl 2005 Database which is on a x64 bit machine. i have installed 32bit python2.5 and pyodbc.pywin32-211 i have created a odbc DSN. When i'm using this DSN in the script it errors out saying ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not f

Re: [python-win32] GetWindowsVersion on Longhorn

2009-02-06 Thread Michel Claveau
Hi! win32api.GetVersionEx(1) (6, 0, 6001, 2, 'Service Pack 1', 1, 0, 256, 1, 30) on 2008: (6, 0, 6001, 2, 'Service Pack 1', 1, 0, 274, 2, 30) And, on Seven (for collectors): print win32api.GetVersionEx(1) > (6, 1, 7000, 2, '', 0, 0, 256, 1, 0) @-salutations -- Michel Claveau ___