Koen_V has asked for the wisdom of the Perl Monks concerning the following question:
This script works fine from the command prompt but nothing happens when I run it as part of a cgi script. I get no value in $error however so I assume that my acces and launch rights are not the problem. $IPAddress contains my PC's IP so this is probably not the problem either.my $word = Win32::OLE->new(["$IPAddress", 'Word.Application']) or $error = "$error Can't start Word"; $word->{'Visible'} = 1; my $doc =$word->Documents->Add or $error ="$error Can't Add";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI and OLE
by gellyfish (Monsignor) on Mar 04, 2005 at 16:32 UTC |