|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11462 COM does NOT work
Submitted: 2001-06-13 07:03 UTC Modified: 2001-06-21 07:58 UTC
From: flop dot m at usa dot net Assigned:
Status: Closed Package: COM related
PHP Version: 4.0 Latest CVS (2001-06-13) OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: flop dot m at usa dot net
New email:
PHP Version: OS:


 [2001-06-13 07:03 UTC] flop dot m at usa dot net
I'm using W2KSP2, Apache 1.3.20, PHP latest snap from Zend (2001-6-12) using the module way, not the CGI way.

This script does not work

$word=new COM("word.application") or die("Cannot start word for you");
print "Loaded word version ($word->Version)\n";
$word->visible =1 ;
$word->Selection->Typetext("Is this what you meant?");

What happens?



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-13 07:07 UTC] flop dot m at usa dot net
I obtained this

Warning: Unable to obtain IDispatch interface for CLSID {000209FF-0000-0000-C000-000000000046}: Server execution failed in d:\program files\apache group\apache\htdocs\test.php on line 1
 [2001-06-15 10:16 UTC]
does this work with earlier versions ? it looks like word is not installed correctly or that the wwwuser has insufficient rights.

 [2001-06-21 07:58 UTC]
no feedback
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 01:01:32 2024 UTC