go to bug id or search bugs for
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");
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?
Add a Patch
Add a Pull Request
Can you elaborate some more? What exactly doesn't work then, does it crash, does it give you an error?
$word = new COM("Word.application");
or use the
com_propget, com_propput, com_invoke functions after the print command.
I've removed IIS 5.0 and replaced it with Apache 1.3.17; It now works like clockwork and w/o any alterations.
Seems my first hunch was right: The COM functions are not entirely compatible with IIS.
Maybe something to look into?
works fine with iis and the latest cvs version.