hi
i try sample code from here it raise exception like this?what can i do solve it ?
Invoke() failed: Exception occurred. Source: Microsoft Word Description: Could not open macro storage. in E:\bala\hardy\back\b.php on line 23
code:
$word=new COM("word.application") or die("Cannot start word for you");
print "Loaded word version ($word->Version)\n";
$word->visible =1;
$word->Documents->Add();
$word->Selection->Typetext("Dit is een test");
$word->Documents[1]->SaveAs("zeo.doc");
$word->Quit();