Hi there,
just tried out one of the uncounted examples to open a word document out of PHP:
$word = new COM("word.application");
$word->Visible = 1;
$word->Documents->Add();
$word->Selection->TypeText("This is Text!");
$word->Documents[1]->SaveAs("Useless test.doc");
$word->Quit();
$word->Release();
$word = null;
Unfortunately Word keeps invisble. By checking the Task-Manager (Win XP/OfficeXP) I can see, that a instance of winword.exe is beginning to run. Also the "Useless test.doc" is written in the preset path. So how to make Word visible?
Thanks for your help!