[python-win32] Vista64 Jet

2009-05-11 Thread Gerdus van Zyl
The following code: conn = win32com.client.Dispatch(r'ADODB.Connection') DSN = 'PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=%s;Jet OLEDB:Database Password=root' % dbName conn.Open(DSN) gives: com_error: (-2147352567, 'Exception occurred.', (0, u'ADODB.Connection', u'Provider cannot be found. It

[python-win32] Win32 robustness against Microsoft version changes

2009-05-11 Thread Baehr, Manuel
Hi all, I've been using the win32com module for a few weeks now and am pretty amazed about the possibilities. I want to use it to automate various tasks. However I am afraid of Microsoft version changes destroying my scripts. Is there any experience or estimate about this risk (we currently use

Re: [python-win32] Win32 robustness against Microsoft version changes

2009-05-11 Thread Tim Roberts
Baehr, Manuel wrote: Hi all, I've been using the win32com module for a few weeks now and am pretty amazed about the possibilities. I want to use it to automate various tasks. However I am afraid of Microsoft version changes destroying my scripts. Is there any experience or estimate about

Re: [python-win32] AddMembershipRule(SMS_CollectionRuleDirect): Generic failure

2009-05-11 Thread John Randolph
On Tue, Apr 21, 2009 at 3:52 PM, Tim Golden m...@timgolden.me.uk wrote: Actually I had previously placed a delay between the new_rule creation and calling AddMembershipRule for another reason -- to make a clear break in the timestamps on the server side wmi logs.  Unfortunately the delay

Re: [python-win32] AddMembershipRule(SMS_CollectionRuleDirect): Generic failure

2009-05-11 Thread Tim Golden
John Randolph wrote: On Tue, Apr 21, 2009 at 3:52 PM, Tim Golden m...@timgolden.me.uk wrote: Actually I had previously placed a delay between the new_rule creation and calling AddMembershipRule for another reason -- to make a clear break in the timestamps on the server side wmi logs.