Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Parsing MSWord File

by jplindstrom (Monsignor)
on Oct 02, 2008 at 13:30 UTC ( #715008=note: print w/replies, xml ) Need Help??

in reply to Parsing MSWord File

On a general note, keep the task manager open and look for MS Word processes not being terminated properly if your script is Ctr-C:ed, or exit()-ed without the Win32::OLE object being destroyed.

That may also be the reason if you have problems opening/saving Word documents for no reason -- there is another process still alive with the document open.


Replies are listed 'Best First'.
Re^2: Parsing MSWord File
by pankaj_it09 (Scribe) on Oct 03, 2008 at 07:13 UTC
    I did like this but no effect :-

    my $document = Win32::OLE -> GetObject($doc,sub {$_[0]->Quit;});

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://715008]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2023-03-24 19:11 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (61 votes). Check out past polls.