I have an HTML page (document.html). The function of the page is to display a Microsoft Word document (.doc) using OCX. The OCX. Here's the snippet of the HTML:
<OBJECT id="viewer"
classid="clsid:S939ADFJ-9F2D-938F-03DL-19DLF3DHAFDF"
codebase="WordViewer.ocx"
width=600
height=400
</OBJECT>
<script>
function view()
{
document.all.viewer.view("http://exampledomain.com/report.doc");
}
</script>
My question is:
- Is it possible to use PHP/JavaScript to get the status of the OCX loading? I need the status to redirect users who failed to load the OCX.
Thx.