Re: [python-win32] Opening Access (mdb) database: ADODB.Connection - Der Provider kann nicht gefunden werden

2015-04-20 Thread Rod Person
On 04/20/2015 9:49 AM, Niemann, Hartmut wrote: this is the source try: print Open ADOB.Connection ado = win32com.client.Dispatch(ADODB.Connection) connectionstring = Provider=Microsoft.Jet.OLEDB.4.0; Data Source=\%s\ % filename # Access

Re: [python-win32] pythoncom error -2147180508. What is it?

2014-04-01 Thread Rod Person
On 04/01/2014 6:52 AM, Joss Gray wrote: I'm using the awesome wmi package in my application which I understand uses pythoncom. I'm using wmi to perform operations like setting the IP of a network adapter, reading various bits of system information. I'm finding that once in a while calls

Re: [python-win32] Getting Remote Share User Group Names and Permissions

2012-02-20 Thread Rod Person
renamed to what the old server name is. -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Getting Remote Share User Group Names and Permissions

2012-02-20 Thread Rod Person
server the groups are: Administrator Creator_Owner System Users Not sure if my changes caused the problems with the groups. -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom' ___ python

Re: [python-win32] Getting Remote Share User Group Names and Permissions

2012-02-18 Thread Rod Person
On Fri, 17 Feb 2012 20:20:09 + Tim Golden m...@timgolden.me.uk wrote: On 17/02/2012 18:26, Rod Person wrote: import win32security as win32s sd = win32s.GetFileSecurity(sh,win32security.GROUP_SECURITY_INFORMATION) Assuming that sh here is the name of of the share (eg \\server

[python-win32] Getting Remote Share User Group Names and Permissions

2012-02-17 Thread Rod Person
do I get that to display as Administrator, for example. My goal is to be able to create this share on another remote server with the same groups and permissions. Thanks, Rod -- Rod Person http://www.rodperson.com rodper...@rodperson.com 'Silence is a fence around wisdom

[python-win32] WMI Win32_LoggedOnUser help

2011-09-02 Thread Rod Person
Hi, I've been experimenting with the wmi module and so far everything is working great, but I'm having an issue with the Win32_LoggedOnUser class. I can seem to access it's properties. When I run the code in debug I can see the information I want is being stored in the object but all attempts to

Re: [python-win32] WMI Win32_LoggedOnUser help

2011-09-02 Thread Rod Person
On Fri, 02 Sep 2011 14:56:10 +0100 Tim Golden m...@timgolden.me.uk wrote: I'm not entirely sure if this is what you're after, but I *think* it is: code import wmi c = wmi.WMI () for session in c.Win32_LogonSession (): print Session, session.LogonId for associated_user in