Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I took a code fragment to experiment with opening a Word File from Perl.
The below, snagged from the web, returns the message, "Main::$doc only used once" which may be something.
WINWORD.EXE is being started as I can see it in the task manager.
Any tips much appreciated - do I need to do something else to actually view the instance. I believe I read that visible is the default.
MorayJ
my $word = Win32::OLE->new( 'Word.Application' ); $doc = $word->Documents->Open( { FileName => $document_path, , ReadOnly => 1 } );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::OLE not opening a window for me
by davies (Monsignor) on Mar 23, 2012 at 13:17 UTC | |
by Anonymous Monk on Mar 23, 2012 at 13:56 UTC | |
|
Re: Win32::OLE not opening a window for me
by ww (Archbishop) on Mar 23, 2012 at 13:27 UTC | |
by Anonymous Monk on Mar 23, 2012 at 14:03 UTC | |
by ww (Archbishop) on Mar 23, 2012 at 14:27 UTC | |
by Anonymous Monk on Mar 25, 2012 at 00:32 UTC | |
by ww (Archbishop) on Mar 25, 2012 at 01:56 UTC |