Invoke Word in PHP under Vista

From: Date: Tue, 06 Nov 2007 11:06:27 +0000
Subject: Invoke Word in PHP under Vista
Groups: php.general 
Request: Send a blank email to php-general+get-264099@lists.php.net to get a copy of this message
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

« previous php.general (#264099) next »