Can no one help with this? I have search all over the internet in messageboards and articles. Everyone seems to just give up on this error. Surely there is someone who knows how to fix it.
PHP Warning: Invoke() failed: Exception occurred. Source: Microsoft Word Description: Could not open macro storage. in c:\inetpub\wwwroot\convert.php on line 18
Here is the code I am using
<?php
// starting word
$word = new COM("word.application") or die("Unable to instanciate Word");
// if you want see the World interface the value must be '1' else '0'
$word->Visible = 1;
//doc file location
$word->Documents->Open("c:\wwwroot\trial.doc");
//html file location '8' mean HTML format
$word->Documents[1]->SaveAs("c:\wwwroot\trial.html",8);
//closing word
$word->Quit();
?>
I have checked that the IUSER in security settings is set to interactive.
I have checked for case sensitivity.
All help or even ideas would be greatfully appreciated.