cormanaz has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft PowerPoint'; my $app = Win32::OLE->new('PowerPoint.Application', 'Quit') || die "Ca +n't open powerpoint\n"; my $pres = $app->Presentations->Open({FileName=>'test.ppt', ReadOnly=> +1}) || print "Can't open presentation\n";
Trouble is, when I run this the open method sets $pres to "1" rather than a hash value. Also I leave PP open and it does not seem to actuall open test.ppt. Where am I going wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Powerpoint OLE problems
by sheep (Chaplain) on Jan 04, 2004 at 19:11 UTC | |
by cormanaz (Deacon) on Jan 05, 2004 at 15:50 UTC | |
|
Re: Powerpoint OLE problems
by poj (Abbot) on Jan 04, 2004 at 19:13 UTC |