Hari_the_new_monk has asked for the wisdom of the Perl Monks concerning the following question:
Namaste(greetings) to All. I have a small problem. I have a code snippet that works in Perl, but don't when i call through UI cgi script.
pasting my code
my $Excel = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application'); $Excel->{'Visible'} = 0; $Excel->{DisplayAlerts}=0; print " till this all fine"; my $Book = $Excel->Workbooks->Open("C:\\devtools\\one.xlsx"); print " control does not reach here";
Please help me to resolve the issue
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help in OLE perl
by BrowserUk (Patriarch) on Apr 24, 2012 at 15:17 UTC | |
|
Re: Help in OLE perl
by davies (Monsignor) on Apr 24, 2012 at 15:34 UTC | |
|
Re: Help in OLE perl
by afoken (Chancellor) on Apr 24, 2012 at 17:48 UTC |