Invoke Word in PHP under Vista

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sir, 

 

I had read the PHP online manual and tried to create a Word application from
my PHP code. I am now using Vista Business. 

 

Funny thing is: 

 

$word=new COM(?word.application?); 

 

Works fine under my development IDE (PHPED) but when I tried to load it in
FireFox or IE (even with ?Run as Administrator? option), ti shows the below
error msg:

 

atal error: Uncaught exception 'com_exception' with message 'Failed to
create COM object `word.application': ¾Ü¾ø·ÃÎÊ¡£ ' in
F:\Books.web\php\spellcheck.php:4 Stack trace: #0
F:\Books.web\php\spellcheck.php(4): com->com('word.applicatio...') #1
F:\Books.web\php\spellcheck.php(41): SpellCheck('Hellu world. Th...') #2
{main} thrown in F:\Books.web\php\spellcheck.php on line 4

 

Can you help? 

 

Rgds!

 

Taylor


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux