RE: Help with LookupAccountSID (again)

2012-07-18 Thread Howard Tanner
Sorry, forgot to copy the group. Here's what I sent to Barry: The Win32 API to do that is ConvertStringSidToSid: http://msdn.microsoft.com/en-us/library/windows/desktop/aa376402(v=vs.85).as px My Perl isn't strong enough to know how to call this from Perl, but I'm sure someone stronger in Perl

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Howard Tanner
Found a Perl solution. Here you go: http://search.cpan.org/dist/Win32-Security/lib/Win32/Security/SID.pm -Original Message- From: Barry Brevik [mailto:bbre...@stellarmicro.com] Sent: Wednesday, July 18, 2012 2:46 PM To: Howard Tanner; Perl-Win32-Users@listserv.ActiveState.com Subject

RE: Template Toolkit on Windows 7

2012-07-11 Thread Howard Tanner
You said when ttree tries to create his .ttreerc file the OS will not let him do so. As Leo was pointing out, this is probably a problem with authority. Running the Perl script as an administrator would probably help, but that's not a fix. The issue is probably that you don't have create

RE: Win32::OLE events callback not executed

2012-03-19 Thread Howard Tanner
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of haratron Sent: Monday, March 19, 2012 11:21 AM To: perl-win32-users@listserv.ActiveState.com Subject: Win32::OLE events callback not executed Hello, I want to implement

RE: Win32::OLE events callback not executed

2012-03-19 Thread Howard Tanner
-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of haratron Sent: Monday, March 19, 2012 1:54 PM To: Howard Tanner Cc: perl-win32-users@listserv.activestate.com Subject: Re: Win32::OLE events callback not executed Thanks for the answer. I've

RE: Setting file server time

2011-09-26 Thread Howard Tanner
: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Howard Tanner Sent: Monday, September 26, 2011 5:08 PM To: 'Barry Brevik'; perl-win32-users@listserv.ActiveState.com Subject: RE: Setting file server time You can use the DOS

RE: Setting file server time

2011-09-26 Thread Howard Tanner
You can use the DOS TIME command to set the time (it uses military time). To execute it on a remote computer, I recommend psexec from Sysinternals. The advantage of psexec is you don't have to install anything on the remote machine - pstools installs itself there automatically if it needs to (and

RE: I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox

2011-07-25 Thread Howard Tanner
There's a Folders collection in the MAPI namespace. You should be able to index that by name. -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Wagner, David --- Sr Programmer Analyst --- CFS

RE: Parsing a PDF with empty fields

2011-04-13 Thread Howard Tanner
Disclaimer: I'm using Acrobat 10 and Office 2010, so YMMV. I opened the PDF in Acrobat and selected File, Save As, then chose Tables in Excel Spreadsheet (*.xml). I opened the resulting xml in Excel, and the data was properly lined up in columns. There were only 50 entries per sheet (one PDF page

RE: Changing Subject color using MIME::Lite

2010-08-22 Thread Howard Tanner
The limitation is the MIME protocol, not the Perl module. So the answer is still no. From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of A F Sent: Sunday, August 22, 2010 1:31 PM To: Howard Tanner Cc: perl-win32

RE: TaskScheduler and Win32::OLE

2010-04-03 Thread Howard Tanner
...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Brzezinski, Paul J Sent: Saturday, April 03, 2010 10:55 AM To: Howard Tanner Cc: perl-win32-users@listserv.activestate.com Subject: RE: TaskScheduler and Win32::OLE Respectively, XML might be an option for Vista and above

RE: TaskScheduler and Win32::OLE

2010-04-02 Thread Howard Tanner
There is no OLE object to work with tasks created by the Scheduled Tasks Wizard (the Win32_ScheduledJob object in WMI only works with tasks scheduled with AT). You can, however, use the schtasks command to produce a list of all scheduled tasks and then walk that list. schtasks can produce the

RE: execute script

2010-03-24 Thread Howard Tanner
Check out smbpasswd. And by the way, google is your friend. Try that first before looking for help on a mailing list. -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of bigthepaco Sent:

RE: Determining if a file is open

2010-02-18 Thread Howard Tanner
An easier solution is to try to open the file exclusively. If it fails, one of the errors will be unable to obtain the exclusive lock (because the file is open already). From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf