次のコードで
<?php
$test="C:/wamp/www/test.doc";
com_load_typelib('Word.Application');
$word = new COM("word.application");
$word->Documents->Open($test);
$word->Visible = 1;
$word->ActiveDocument->FormFields("Text1")->Result = "test";
$word->ActiveDocument->Close(false);
$word->Quit();
unset($word);
?>
次の問題が発生します
7行目は $word->ActiveDocument->FormFields("Text1")->Result = "test";
何が問題なの?