ID: 8934
Updated by: phanto
Old-Status: Feedback
Status: Closed
Bug Type: COM related
Assigned To: 


$word = new COM("Word.application");

or use the

com_propget, com_propput, com_invoke functions after the print command.

Previous Comments:

[2001-01-26 16:06:56] [EMAIL PROTECTED]
Can you elaborate some more? What exactly doesn't work then, does it crash, does it 
give you an error?


[2001-01-26 08:37:38] [EMAIL PROTECTED]
The example (see below) from the PHP site to do some stuff with MS Word seems 
incompatible with IIS 5.0.

$word=com_load("Word.application") or die("Cannot start word for you"); 
print "Loaded word version ($word->Version)n"; 
$word->visible =1 ; 
$word->Selection->Typetext("Dit is een test"); 
$word->Documents[1]->SaveAs("burb ofzo.doc"); 

The same code has also been executed on (another) system runnig Win ME / Apache and 
does exactly what it's supposed to do.

Does this problem involves some kind of priviliges, not already documented?


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to