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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC