I am having a few problems with the php com command.

All apears to go well but win word never opens. And i cant find the file anywhere. I was hoping that someone here may know what is going on with this.


$word=new COM("word.application") or die("Cannot start word for you");
print "Loaded word version ($word->Version)n";
$word->visible =1 ;
$word->Selection->Typetext("This is a test.....");


Extra info:
PHP4, Apache, Win2k profecional

Thanks for the help