[python-win32] GetScrollInfo and SetScrollInfo method signatures?

2011-03-13 Thread Greg Ewing
According to the pywin32 docs, PyCWnd.GetScrollInfo and PyCWnd.SetScrollInfo have the following signatures: int = GetScrollInfo(nBar, mask) int = SetScrollInfo(nBar, redraw) Surely these can't be right? Shouldn't there be a SCROLLINFO struct involved there somewhere? -- Greg _

Re: [python-win32] [adodbapi]cannot query date type? any example please?

2011-03-13 Thread 机械唯物主义 : linjunhalida
OK, got it. use this method: sql = 'select * from t where t between #%s# and #%s#' % (t1.strftime('%m/%d/%Y %I:%M:%S %p'), t1.strftime('%m/%d/%Y %I:%M:%S %p')) ugly but works... 2011/3/14 机械唯物主义 : linjunhalida : > hello, is there any example for adodbapi? (more then testcase ship > with installe

[python-win32] [adodbapi]cannot query date type? any example please?

2011-03-13 Thread 机械唯物主义 : linjunhalida
hello, is there any example for adodbapi? (more then testcase ship with installer) need to filter query result by time, but got error: >>> adodbapi.version 'adodbapi v2.4.0' Background.mdb has this table t: create table t (data string, t date); here is the code: import adodbapi, win32com import