php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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->Documents->Add();
$word->Selection->Typetext("Is this what you meant?");


What happens?

Marecandja

Patches

Pull Requests

History

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] phanto@php.net
does this work with earlier versions ? it looks like word is not installed correctly or that the wwwuser has insufficient rights.

harald
 [2001-06-21 07:58 UTC] phanto@php.net
no feedback
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jan 14 13:01:31 2025 UTC