T
Tim
The following javascript has been working just fine for the last 5 months.
Now, for no apparent reason, the following error occurs when the script is
run.
"Automation server can't create object"
The script is below. Please note that the parameter passed to the function
is a valid path/filename.
I tried setting all browser security settings to "low", but this did not
resolve the problem.
Any suggestions are greatly appreciated.
-----------------------------------
<script language="JavaScript">
function startWord(strFile)
{
var myApp = new ActiveXObject("Word.Application");
if (myApp != null)
{
myApp.Visible = true;
myApp.Documents.Open(strFile);
}
}
</script>
Now, for no apparent reason, the following error occurs when the script is
run.
"Automation server can't create object"
The script is below. Please note that the parameter passed to the function
is a valid path/filename.
I tried setting all browser security settings to "low", but this did not
resolve the problem.
Any suggestions are greatly appreciated.
-----------------------------------
<script language="JavaScript">
function startWord(strFile)
{
var myApp = new ActiveXObject("Word.Application");
if (myApp != null)
{
myApp.Visible = true;
myApp.Documents.Open(strFile);
}
}
</script>