Koen_V has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone,
I am trying to acces a Word document that is running on another PC. I use the Win32::OLE module for this.
The following line of code works well when I run my script locally :
But it doesn't work when I add an IP address from another PC :my $word = Win32::OLE->GetActiveObject('Word.Application');
The error message here reads " Bad string reference ". Did I make some kind of syntax error here ? I can't be that far off because the following line works just fine :my $word = Win32::OLE->GetActiveObject(['10.1.5.35','Word.Application' +]);
$word = Win32::OLE->new(['10.1.5.35','Word.Application']);
2005-02-28 Janitored by Arunbear - added code tags, as per Monastery guidelines
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::OLE question
by davidj (Priest) on Feb 28, 2005 at 14:13 UTC | |
|
Re: Win32::OLE question
by jdporter (Paladin) on Feb 28, 2005 at 14:15 UTC | |
by Koen_V (Novice) on Feb 28, 2005 at 15:16 UTC | |
by Koen_V (Novice) on Mar 01, 2005 at 09:38 UTC |