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 # A

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 star

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

2012-02-20 Thread Rod Person
groups, no administrator or users. No standard group name shows in the security tab. Also, the share permissions and the actual folder have the same permissions. Now when recreated on the new server the groups are: Administrator Creator_Owner

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

2012-02-20 Thread Rod Person
e a servers shares, the server in question has 150 or so shares and the person in charge wants to do all that by hand...which is seems ridiculous to, especially since he is a programmer...anyway in this situation the two servers will be on the network and the new server will eventually renamed

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 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

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

2012-02-17 Thread Rod Person
o how 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 aro

Re: [python-win32] Excel graphs and saving excel workbook .xls

2011-12-08 Thread Rod Person
> > Regards > Rikus Can't help with the graph as I don't use them, sorry. But you should be able to use self.workbook.SaveAs(filename) this does not close excel, at least for me. -- Rod Person http://www.rodperson.co

Re: [python-win32] WMI Win32_LoggedOnUser help

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

[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 a