[Israel.pm] Win32::OLE questions
Yossi.Itzkovich at ecitele.com
Mon Jan 21 05:38:44 PST 2008
I am trying to automate tasks for MS project file. I didn't find any
specific module, so I use Win32::OLE:
my $app = Win32::OLE->GetObject( $mpp ) ;
$app or $errorMsg=Win32::OLE->LastError()."\n";
$app or die "open failed $mpp:$errorMsg ($!)";
Now I have 2 questions:
1. If the filename ($mpp in this code) is not the full path, but just
relative path, it fails
2. If the MSProject process was never started on that machine - the
script fails too.
Can you explain these issues ?
More information about the Perl