Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: win32 ole and power point

by Old_Gray_Bear (Bishop)
on Sep 08, 2012 at 14:59 UTC ( #992494=note: print w/replies, xml ) Need Help??


in reply to win32 ole and power point

So, what happens if line 8 (my $ppt = $PowerPoint->Presentations->Open('C:\Users\sumit\Desktop\test\Pr­esentation1.ppt');) fails? You really do need to check for errors after trying to open files, you never know what might have happened unless you check.

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^2: win32 ole and power point
by Mr. Muskrat (Canon) on Sep 08, 2012 at 15:10 UTC

    ++Old Gray Bear

    I knew I was missing something when I posted my response but I guess the coffee hasn't kicked in yet.