I'm trying to create a Word object through PHP and after searching our glorious infinite Internet, this is the only sample of code I kind find.
<?
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word->Version}\n";
$word->Visible = 1;
?>
Why oh why does the word.exe process run on my machine but refuse to become visible?
I have tested this on several different machines. My testing environment is XP Pro using IIS5.1
I have only been able to make this code work if I preview it through DZSoft PHP Editor 2.0.0.2. And the one difference I noticed was that DZSoft executes it as myself whereas IIS executes it as IUSR. For testing purposes, I tossed IUSR into the local admin group like I am and nothing changed.