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