I hope u can help me on this. i tried out this code:
$word = new COM("word.application") or die("Unable to instantiate Word");
$word->Visible = 1;
$word->Documents->Add();
$word->Documents -> Open("c:\Hello.html");
$word->Documents[1]->SaveAs("Useless.doc");
$word->Quit();
then i opened Useless.doc, the output was the source code of Hello.html... how can i make them display the right output? Is there any available documentation/sites on how to create formatted doc files inlcuding tables, font size, etc.? I badly need your help.
Hope u can help me.
thanks in advance,