Page 1 of 1

URGENT! "Fatal error: COM is not a class in.."- fo

Posted: Mon Dec 16, 2002 12:23 pm
by nattyravi
anyone :oops: ,
please help me fast..

I have instantiated excel object using

$excel = new COM("Excel.application") or die("Unable to instantiate Excel!");

i am getting an error..
Fatal error: COM is not a class in C:\XXX\XXXX.php3 on line 22

what is the error??

Is it an installation error ??
or
i have to explictly define/declare a COM class in my program..

i am confused..

i am stuck from past 5 hours..
please help me..

regards,
ravi