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?
In reply to Powerpoint OLE problems by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |