Posted by praetorean on December 10th, 2007
i am working on a web application that would be viewing an excel file, i’m trying to use the officeviewer ocx but i am having some problem.
i tried to follow the sample code but to no avail… code as follows:
function OpenFromServer()
{document.all.OA1.Open (’http://dell33/exceldata/exceltest.xls’, ‘Excel.Sheet’;}
i get an error as follows: “Microsoft JScript runtime error: Invalid procedure call or argument”
please help ASAP, thanks
Posted by office viewer on December 3rd, 2007
The DSOFramer VC++ Control is released provided by Microsoft to demonstrate how to host Office documents in VB or HTML. As a COM component, it can also be invoked inside .net applications. Unfortunately MS does NOT guarantee any support as it is provided as an example only. The component has lot’s strange problems and is difficult for users to solve. The component is aslo not script safe for initialization and safe for scripting. Some typical bugs in it are impossible. You can find multiple excel processes keep in the task manager when you exit your program. You can find the component popup some memory error when it works in IE8. It also impossible to load a Word document when the web page load automatically. The component will failed to create New document twice consecutively. The component won’t work in the Vista UAC enable environment.
All these will spend lot’s of time to overtime. Why not use the Edraw Office Viewer Component? You can think it’s a enhenced dsoframer and easily get better product support than others. It has some new features to help get the read only property and the http stream support. It is safer because it is code sign and site lock support. The savetoserver method used the http post method and won’t be blocked by the firewall. You can download the trial version from http://www.ocxt.com/download/OfficeOCXSetup.exe
Or View the online demo at http://www.ocxt.com/online-demo
Recent Comments