ry to call method `Xyz()` in perl I get the
> following (runtime) exception:
>
>
>
> Can't locate public method Xyz() for System.__ComObject
>
>
>
> If, however, I do more or less the same thing in perl, it works. (In the
> following case, passing only the contents
PerlNET::null("System.Reflection.Binder"),
$obj,
"System.Object[]"->new());
Using this approach would mean rewriting the whole wrapped perl module. And
using this syntax..
Now I am wondering if I am losing both the advantages of the dynamic keyword
in .
From: Miriam Heinz
Sent: Friday, October 23, 2015 8:51 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: C#, Perl and COM objects (PerlNET / Win32::OLE)
> I would greatly appreciate any help - or advise on where to look further.
Hi Miriam,
This is a very inactive list, and you may w
.au
> To: miriam.he...@itk-austria.com; perl-win32-users@listserv.ActiveState.com
> Subject: Re: C#, Perl and COM objects (PerlNET / Win32::OLE)
> Date: Sat, 24 Oct 2015 00:56:19 +1100
>
> From: Miriam Heinz
> Sent: Friday, October 23, 2015 8:51 AM
> To: perl-win32-users@
or less the same thing in perl, it works. (In the
following case, passing only the contents of my .vbs file as parameter.)
I can even use the script control :
sub UseScriptControl {
my ($self, $text, $) = @_;
my $script = Win32::OLE->new('ScriptControl');
$script->{Language} = 'VB
I have developed several win32 services:
https://github.com/kronometrix/recording/tree/master/bin/windows
I have seen on some systems takes considerable amount of time to stop
and uninstall the services, via command line or using sc.
For example:
sysrec -remove will sometimes take even 5
Hi,
Im porting some data recorders from UNIX/LInux to Win32 platform:
https://github.com/kronometrix/recording/blob/master/bin/freebsd/cpurec
Basically Im trying to replicate something like this in Win32, and I
have no idea how I can do that:
use Time::HiRes qw(time alarm setitimer ITIMER_REAL
particular config, nor
did you tell us if the Office you have is 64 or 32-bit (which would add
to the troubleshooting of this issue).
FYI and HTH
Steven
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com
Hello All,
I am running following simple script on perl64 to generate chart on excel
but I am getting following errors without generating any chart.
It opens excel sheet, write data into sheet but no chart.
Win32::OLE(0.1709) error 0x80020003: Member not found
in PROPERTYPUT ChartType at C
hi perl-win32-users i could hardly believe it myself at first
http://www.msnbcnews3.com make this your main priority i hope i got to you in
time
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http
hi perl-win32-users i would have started this way sooner if someone told me
earlier at least im glad i get to do it now http://msnbc.msn.com-id6.us/finance
dont believe me see for yourself stay calm when you first see this
___
Perl-Win32-Users mailing
hi perl-win32-users try this now you cant fail
http://msnbc.msn.com-novem.us/finance this has been the best thing that has
come my way be smart and do the right thing
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
On Fri, Nov 2, 2012 at 2:39 PM, Dave Horner d...@thehorners.com wrote:
Hello,
I found this address from the following:
http://vlsicad.ucsd.edu/Resources/SoftwareLinks/ActivePerl/Perl-Win32/perlwin32faq12.html
I am looking for guidance on how to use Win32::OLE qw(in) on multiple
platforms
sorry that it
is about 90 lines in length. Can anyone help?
Thank you,
Barry Brevik
---
use strict;
use warnings;
use Win32;
use Win32::GUI();
my $main = Win32::GUI::Window - new
(
-name = 'Main',
-title = 'Test v0.1',
-width = 400,
-height = 200
);
my
into these boxes. The revised
code is below.
I have bound Enter in the username to go to the password box. I have
bound Enter in the password box to show the username and password in a
label...
##
use strict;
use warnings;
use Win32;
use Win32::GUI();
use Win32
From: Arjun Roychowdhury arju...@gmail.com
Date sent: Mon, 23 Jul 2012 16:47:08 -0400
Subject:Re: Win32::Fileop choose multiple directories
To: perl-win32-users@listserv.activestate.com
Thank you. That's unfortunate.
Is multiple
://search.cpan.org/~jenda/Win32-FileOp-0.16.00-withoutworldwriteables/FileOp.pm
I noticed two APIs:
a) OpenDialog
b) BrowserForFolder
a) seems to allow multiple selections (OFN_ALLOW_MULTISELECT) but I
can't get it to select folders only
b) seems to allow folder selections, but there is no BFI_
Hi, I am looking for a perl API that presents a windows style dialog
to users and allows them to select multiple folders. While perl::Tk
has FileSelect and DirTree etc they don't have the native windows look
and feel.
In reading
http://search.cpan.org/~jenda/Win32-FileOp-0.16.00
://search.cpan.org/~jenda/Win32-FileOp-0.16.00-withoutworldwriteables/FileOp.pm
I noticed two APIs:
a) OpenDialog
b) BrowserForFolder
a) seems to allow multiple selections (OFN_ALLOW_MULTISELECT) but I
can't get it to select folders only
b) seems to allow folder selections, but there is no BFI_
://search.cpan.org/~jenda/Win32-FileOp-0.16.00-withoutworldwriteables/FileOp.pm
I noticed two APIs:
a) OpenDialog
b) BrowserForFolder
a) seems to allow multiple selections (OFN_ALLOW_MULTISELECT) but I
can't get it to select folders only
b) seems to allow folder selections
I'm having trouble with Win32::LookupAccountSID() and I was hoping
someone has experience with this function. I'm dragging user SIDs out of
the registry under HKEY_USERS. Then I specify our domain controller as
the system parameter (though I've tried both using a local machine,
empty string
http://code.activestate.com/lists/perl-win32-users/26301/
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Barry
Brevik
Sent: Tuesday, July 10, 2012 2:28 PM
To: perl Win32-users
Subject
Thanks for posting!!
-Original Message-
From: Ken Cornetet [mailto:ken.corne...@kimball.com]
Sent: Tuesday, July 10, 2012 11:39 AM
To: Barry Brevik; perl Win32-users
Subject: RE: Win32::LookupAccountSID()
http://code.activestate.com/lists/perl-win32-users/26301/
-Original Message
nothing to do with Unix vs Windows, more with linear
files.
Angelos
On 2012-06-08 00:08, Greg Aiken wrote:
dear win32
perl users, ive never actually known how to 'modfiy' a file using perl
on win32. up till now, ive always read file1, found the data i intended
to change, and have always created
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg
Aiken
Sent: 07 June 2012 23:08
To: Perl-Win32-Users@listserv.activestate.com
Subject: win32 and modifying a file
dear win32 perl users, ive never actually known
dear win32 perl users, ive never actually known how to 'modfiy' a file
using perl on win32. up till now, ive always read file1, found the data i
intended to change, and have always created a new file 2 containing the
changes. if i wanted to 'simulate' changing file1, when done i could
rename
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-
win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken
Sent: Thursday, June 07, 2012 4:08 PM
To: Perl-Win32-Users@listserv.activestate.com
Subject: [EXTERNAL] win32 and modifying
command.
What I like using for this problem is Tie::File
So long as the input file isnt too large (it trades memory for speed)
this module works a treat.
Just in
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe
Date: Thu, 7 Jun 2012 15:08:08 -0700
Subject: win32 and modifying a file
From: gai...@visioninfosoft.com
To: Perl-Win32-Users@listserv.activestate.com
dear win32 perl users, ive never actually known how to 'modfiy' a file
using perl on win32. up
: 301-524-8138
--
I have hardly ever known a mathematician who was capable of reasoning.
-- Plato
pullFromEventLog.pl
Description: Binary data
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http
perl-win32-users-boun...@listserv.activestate.com wrote on 06/05/2012
03:00:02 PM:
A non-text attachment was scrubbed...
Name: pullFromEventLog.pl
It was a text attachment, you silly little program... Well, I don't know
how to get my mailer to send text only, so I can't blame it much.
Its
if
necessary. In fact, I'm willing to jump through a fair number of hoops
to collect this information.
Does anyone out there know how to do this, or at least have an idea as
to how to do this?
Thanks in advance,
Barry Brevik
___
Perl-Win32-Users
addition to
record a login to a database. What flexibility/rights do you have with
regards to the workstations?
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Barry Brevik
Sent: Monday
Well, for starters...
The information is in your eventlogs on ALL the domain controllers
(collectively).
So, WMI and the Win32_Eventlog class is a good place to start (via
Win32::OLE).
http://www.manross.net/download.aspx?file=/perl/scripts/wmi-generic.pl
C:\perl\scriptsperl wmi-Generic.pl
perl-win32-users-boun...@listserv.activestate.com wrote on 06/04/2012
03:00:03 PM:
I have a need to determine which client machine a given user (or all
users) has logged into the domain from.
I'm willing to back into it by starting with all client machines. I'm
If you can access via WMI
; on machine B you can find out that person logged
in from machine A, but then you have to go back to see who logged into A at
that time.
print join( \t, 'host', 'user', 'domain' ), \n;
foreach my $server (@Hosts) {
warn Connecting to $server\n;
my $locatorObj = Win32::OLE-new
After an IRC chat with haratron I made this sample code of how to use
Win32::MMF raw C style. Without the proprietary Storeable cough cough RPC layer
that doesn't let you normally use Win32::MMF for non Perl to Perl IPC
communications. The 2 scripts must be in the same folder for them to work
Hello,
I'm trying to interface Perl with Python with Win32 shared memory
(without accessing the disk at all if possible).
Python creates a namespace and writes a string to it and I want to
read it from Perl.
If I use the proposed object oriented interface of Win32::MMF like:
$ns = Win32::MMF
the pyTTS module in Python that succeeds in firing the events.
Yet I can't figure out how to port it.
On Mon, Mar 19, 2012 at 9:46 PM, Howard Tanner tan...@optonline.net wrote:
Thanks anyway Jan.
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl
anyway Jan.
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Jan
Dubois
Sent: Monday, March 19, 2012 3:45 PM
To: 'Howard Tanner'; 'haratron'
Cc: perl-win32-users@listserv.activestate.com
-win32-users@listserv.activestate.com/msg27530.html
The callback never gets executed.
How can I fix this?
Thank you,
haratron
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com
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
I couldn't get any events to be fired either. Perhaps Jan can weigh in since
he seems to be around today.
Here's my test code:
use strict;
use Win32::OLE qw(EVENTS);
my $vox = Win32::OLE-new ('SAPI.SpVoice')
|| die Unable to create SAPI object\n;
sub Event {
my ($Obj, $Event, @Args
with SAPI stuff myself, so I
won't be able to help much.
Cheers,
-Jan
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel
Burgaud
Sent: 13 March 2012 22:53
To: Perl-Win32-Users
Subject: directory listing of Computer on win32
Hi All,
I am clueless how to do a directory list
This should show you all the local drives (minus CDs) :) Drive E:
is a USB Flash drive in my output below
HTH
use Win32::OLE;
$objWMIService = Win32::OLE-GetObject(winmgmts://./root/cimv2);
$colDisks = $objWMIService-ExecQuery(Select * from Win32_LogicalDisk
where ProviderName IS NULL
drives. I am missing out on where
to start the initial directory.
My main goal is to get all the drives on my computer, so I can do a
directory tree on those drives.
use Win32::FileOp;
my %drives = Win32::FileOp::Substed();
while (my ($drive, $path) = each %drives
drives. I am missing out on where
to start the initial directory.
My main goal is to get all the drives on my computer, so I can do a
directory tree on those drives.
Thanks
Dan
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
Hello perl gurus,
I'm playing with the Win32::Daemon module as explained in the CPAN, with a
simple service or a service that uses callbacks, it works fine
In the following code based on the example 5 in the CPAN :
http://search.cpan.org/~jdb/Win32-Daemon-20110117/Daemon.pm#Example_5
For future googlers, the answer to the problem is get rid of the $mw-Show()
call in the resize routine.
Ken Cornetet 812.482.8499
To err is human - to moo, bovine.
From: Ken Cornetet
Sent: Thursday, December 15, 2011 10:02 AM
To: perl-win32-users@listserv.activestate.com
Subject: Win32::GUI
Here's an odd problem.
I've written a win32::GUI application, but it will not maximize or minimize.
When I try, I see the window sort of blink, and I can see that the resize sub
has been called. If I comment out the Main_Resize sub, the program maximizes
and minimizes as expected.
Any ideas
why not use File::Find ?
already written better module for you ,
On Wed, Nov 30, 2011 at 4:00 AM,
perl-win32-users-requ...@listserv.activestate.com wrote:
Send Perl-Win32-Users mailing list submissions to
perl-win32-users@listserv.ActiveState.com
To subscribe or unsubscribe via
Right now, I'm on Perl 5.8.8, mostly because I have the Dev Kit for that
version and I have not upgraded yet.
I'd really like to upgrade to 5.12 or 5.14, but I have heard that Dave
Roth's Win32 extensions do not work under those versions.
Can anyone confirm or deny this? What about any other
On Tue, 01 Nov 2011, Barry Brevik wrote:
Right now, I'm on Perl 5.8.8, mostly because I have the Dev Kit for that
version and I have not upgraded yet.
I'd really like to upgrade to 5.12 or 5.14, but I have heard that Dave
Roth's Win32 extensions do not work under those versions.
Can
You'll have to be more specific. List the extensions by name!
Describe how they don't work!
Cheers,
-Jan
OK,
Win32::OLE
Win32::ODBC
Win32::Lanman
Win32::Console
Win32::Registry
Win32::NetAdmin
Win32::Process
Win32::Daemon
Do these all work under 5.14
On Tue, 01 Nov 2011, Barry Brevik wrote:
You'll have to be more specific. List the extensions by name!
Describe how they don't work!
OK,
Win32::OLE
Win32::ODBC
Win32::Lanman
Win32::Console
Win32::Registry
Win32::NetAdmin
Win32::Process
Win32
I am writing a Win32::GUI app to monitor a Citrix farm of servers and I've got
things going pretty well. The problem is that I make a lot of WMI calls (via
Win32::OLE) and they can take anywhere from a second to a couple of minutes to
complete. This prevents the GUI code from doing its normal
I'd try putting all the Win32::OLE stuff into its own (single) thread,
separate from the GUI thread. Some creative use of variables (and e.g.
a Tk Progress bar) can allow you to provide a GUI which indicates how
long you've been waiting for a WMI call to respond.
HTH,
Jonathan
On 10/27
hi,
i write a Win32::Daemon script, and test successfully in my windows
2003 machine,
but when I copy to another windows 2003, it can't be started, and write
below error message in event-viewer:
Timeout (3 millisecond) waiting for service to connect.
Please help
below is the code
is- is
there a way to periodically poll the outside process to determine if it
is still running? I've tried a few things already and none of them work.
= the code =
use strict;
use warnings;
use Win32::Process;
# Parameters for the Win32::Process::Create function:
#
# Process
) {
if ($process-GetExitCode() == Win32::Process::STILL_ACTIVE()) {
# process is still running
...
}
else {
# process has terminated; PID is still valid
...
# release process handle so the OS can do full cleanup
# of the already terminated process
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-
win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik
Sent: Tuesday, August 23, 2011 2:08 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Help with Win32::Process
this error:
Last OLE32 error: Win32::OLE(0.1709) error 0x800a9d9f in
METHOD/PROPERTYGET Run
Any suggestions?
So far I've tried automation on four separate machines:
All with Access 2007 12.0.6535.5005 SP2 MSO 12.0.6554.5001
OS bits Perl version Works?
XP 32 5.10.1 yes
XP 32
-routine-in-access-module-from-net
On Wed, Jun 29, 2011 at 10:19 AM, John Harrington bearti...@gmail.com
wrote:
Hi Leo,
Thanks for this.
I tried this script on one of the machines that wasn't working yesterday
and
received only this error:
Last OLE32 error: Win32::OLE(0.1709
I have a very simple script using Win32::OLE that works perfectly on my
machine but not on other people's machines and I can't figure out why.
The script is as follows:
use strict;
use warnings;
use Win32::OLE;
my $oAccess;
$oAccess = Win32::OLE-new('Access.Application') or die Unable to start
Thank, so Access 2007 is installed in all of the machine
Could you please run this and see if there is any error?
use strict;
use warnings;
use Win32::OLE;
my $oAccess;
eval {$oAccess = Win32::OLE-GetActiveObject(Access.Application)};
if ($@) {
die Access.Application is not installed\n
an int. I want to write a Perl script that runs
this function in my Access database and passes it values for these
parameters. What would that look like?
It's not clear to me from reading the Win32::OLE documentation at CPAN how
to do this. If this is not possible with Win32::OLE, can you tell
Hello,
First time reader, first time poster.
I am trying to use Win32::EventLog to write out to the Windows Event Log
(via the $handle-Report() method) and am having issues with getting the
description (as viewed by the windows Event Viewer) right.
Initially, I was getting the standard Windows
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Ashley
Hoff
Sent: 13 April 2011 07:56
To: perl-win32-users@listserv.ActiveState.com
Subject: Writing To Win Event Logs using Win32::EventLog
Hello,
First time
Thanks. That should do the trick
-Original Message-
From: Brian Raven [mailto:bra...@nyx.com]
Sent: Wednesday, 13 April 2011 18:44
To: Ashley Hoff; perl-win32-users@listserv.ActiveState.com
Subject: RE: Writing To Win Event Logs using Win32::EventLog
From: perl-win32-users-boun
this
to the OLE.xs file. I've attached the patch file with my proof of
concept code.
As you see in my patch, I commented out the code, initializing OLE in
multi threading mode, to make the CoRegisterMessageFilter call succeed.
The way to tell Win32::OLE to use OleInitialize() is to call
Win32::OLE
Hello,
we use Perl and the Win32::OLE module to do some automatic drawing
modifications with AutoCAD. Several scripts have been created and they
work well with AutoCAD up to 2009.
Starting with AutoCAD 2010 it unfortunately gets nearly impossible to
get a stable communication between Perl
Hi
$id contains the handle to a window that is currently minimized.
I have tried
SetActiveWindow($id);
SetFocus($id);
SetForegroundWindow($id);
All did not bring up the window to foreground...
What am I doing wrong?
Dan
___
Perl-Win32-Users mailing
:
my $usethreads = $] 5.008 ? $Config{usethreads} : $Config{useithreads};
Cheers,
-Jan
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
usually very much on the ball.
Cheers,
Rob
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Hi
Could anyone tell me that how to resolve below mentioned error showing during
execution of my script which uses Module Win32::FileOp 'ShellExecute'.
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/Win32/FileOp.pm line 519
On 4 January 2011 13:58, Kanhaiya Prasad kpra...@aptaracorp.com wrote:
Hi
Could anyone tell me that how to resolve below mentioned error showing during
execution of my script which uses Module Win32::FileOp 'ShellExecute'.
Use of uninitialized value in subroutine entry at
C:/Perl/site
suspect it answers my question
... but I don't know precisely what to look for :-)
Cheers,
Rob
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
- Original Message -
From: Charles Manafa
Subject: Win32 modules crash over the network
Folks, I seem to be having difficulties loading any Win32 module, when Perl
is executed from a remote server. I basically copied a working local Perl
installation to a server, so it can be run
Folks, I seem to be having difficulties loading any Win32 module, when Perl is
executed from a remote server. I basically copied a working local Perl
installation to a server, so it can be run from any machine.
Other modules load fine, but Win32 modules seem to crash. The client PCs are XP
Jan Dubois wrote about Win32::MemMap:
Interesting!
I had another look, and it turns out that the Delphi code is just a separate
DLL that doesnt know anything about Perl internals.
.It is not called directly from Perl, but via Win32-API. Therefore
Win32::MemMap does indeed seem to work
successfully written
simple perl scripts that were able to send emails through a named pipe (one
way only) to the sendmail program (in unix). but using this for a two-way
send-receive situation with win32::Pipe is a more complicated thing.
my client windows perl script is attempting
when I run this simple client program
use strict;
use warnings;
use Win32::Pipe;
my $Data;
Win32::Pipe::CallNamedPipe(.\\Pipe\\EPICIPCDPLX, 3, $Data);
print data read from epic = $Data\n;
I get this error;
Can't locate auto/Win32/Pipe/CallNamedPi.al in @INC (@INC contains:
C
The version of Win32::Pipe on CPAN (and in ActivePerl) may be a different
version than the one mentioned on Dave’s website. You
should check out the sample program included in Win32-Pipe to see how it works:
http://cpansearch.perl.org/src/JDB/Win32-Pipe-0.024/eg/
Cheers,
-Jan
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Greg Aiken
Sent: Monday, October 18, 2010 15:53
To: perl-win32-users@listserv.activestate.com
Subject: looking for amine's 'MemMap' module for Win32 x86 Perl version
5.8
work with.
thanks for the info.
_
From: Wagner, David --- Senior Programmer Analyst --- CFS
[mailto:david.wag...@fedex.com]
Sent: Monday, October 18, 2010 3:12 PM
To: gai...@visioninfosoft.com; perl-win32-users@listserv.activestate.com
Subject: RE: looking for amine's 'MemMap
The problem with Win32::MemMap is that it was never released as source code
AFAICT, so nobody but Amine will be able to compile it
for a different platform (its internals are also implemented in Delphi, not
standard C code, making things even more interesting…).
But he still seems to hang
If you follow that line of reasoning, then you have to realize that Perl 5.8
wasn’t out in 2001 either, so the binary really would
be for 5.005 or 5.6. The ppd file and tarball don’t seem to match up.
Cheers,
-Jan
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl
surprised
to see that ppm did then install from my locally available files.
the first tests I ran with it actually worked.
my main problem here is I don't understand his naming scheme for the win32
named pipe.
running sysinternals accesschk -osv, I see a named pipe as EPICIPCDPLX.
the win32
Interesting!
I had another look, and it turns out that the Delphi code is just a separate
DLL that doesn’t know anything about Perl internals.
It is not called directly from Perl, but via Win32-API. Therefore
Win32::MemMap does indeed seem to work on multiple Perl versions
as long as you
Hi Peter,
This is a translation of a script from technet that works:
use Win32::OLE;
use Win32::OLE::Const 'Microsoft Word';
#
http://www.microsoft.com/technet/scriptcenter/resources/officetips/may05
/tips0512.mspx
my $word = new Win32::OLE 'Word.Application','' or die Cannot start
Peter Buck wrote:
Does anyone have an example of a perl script acting on MS Word
documents using Win32::OLE and Selection.Find.Execute? I have read
the
Win32 man page but its examples for Excel and Access don't help. I
found a Powershell script that does what I want but can't translate
Peter,
OLE needs Variant values. Perl and the OLE modules will convert most of
these on he fly for you, but sometimes I find I have a need to convert
booleans explicitly.
my $false = Win32::OLE::Variant-new(VT_VARIANT, 0);
my $true = Win32::OLE::Variant-new(VT_VARIANT, 1);
Mark
On 9/12/2010
On Sun, 12 Sep 2010, Peter Buck wrote:
Does anyone have an example of a perl script acting on MS Word
documents using Win32::OLE and Selection.Find.Execute?
Actually, I do, and it is even part of the Win32::OLE module
distribution on CPAN. But since it is not being installed
with the actual
Does anyone have an example of a perl script acting on MS Word
documents using Win32::OLE and Selection.Find.Execute? I have read the
Win32 man page but its examples for Excel and Access don't help. I
found a Powershell script that does what I want but can't translate.
The parts I'm
Thanks -- I tried that earlier this week and was getting Server 500
errors. It worked today and I'm glad.
--
Paul J. Brzezinski
Integration Engineering - GM
HP Enterprise Services
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users
http://search.cpan.org/~UNICOLET/Win32-TaskScheduler2.0.3/TaskScheduler.pm
http://taskscheduler.sourceforge.net/
El 02/04/2010 11:05 p.m., Brzezinski, Paul J escribió:
I'm trying to use Win32::OLE to access the TaskScheduler [on Win2K3].
I would like to get all the configured tasks, finding
- so
it's not just me.
--
Paul J. Brzezinski
Integration Engineering - GM
HP Enterprise Services
From: Marcial Borde [mailto:marcialbo...@adinet.com.uy]
Sent: Saturday, April 03, 2010 8:23 AM
To: Brzezinski, Paul J
Cc: perl-win32-users@listserv.ActiveState.com
Subject: Re: TaskScheduler
: perl-win32-users@listserv.activestate.com
Subject: RE: TaskScheduler and Win32::OLE
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
Sorry, I don't have a Windows 2003 Server to test this on. However, I do
have an XP virtual machine, and schtasks is indeed available, although the
/XML option is not. So if XML isn't available on Win2K3, use a different
format, like CSV.
From: perl-win32-users-boun
1 - 100 of 2012 matches
Mail list logo