Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Parsing MSWord File

by jplindstrom (Monsignor)
on Oct 02, 2008 at 13:30 UTC ( [id://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.

/J

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found