I am reposting this question in multiple forums to get a quicker response. But I am not finding much documentation/examples for I have found lot of documentation for calling ActiveX method from Javascript using IDispatch. Below is a sample of the code used for IE. Firefox just doesnt respond at all to any of our attempts. However the same solution doesnt work in Firefox. Please provide me documentation and samples. We managed to do it in Internet Explorer by getting the client to accept an activex object. It looks like to achive this IDispatch implementations are required.Ĭould you please help me to achieve the above implementation. So you cant get a real Chrome or FireFox in a WebBrowser control. This policy setting specifies the Microsoft ActiveX(r) initialization security level for all Microsoft Office applications. For Example: For FireFox plugin, there is function NPN_EValuate() which evaluates the script and executes it.Ģ) I have to call a Javascript funtion from ActiveX.For Example: There is a NPObject which has methods like HasMethod(), HasProperty() and Invoke() to check and invoking the JavaScript funtions.ģ) How Javascript can call ActiveX functions. To create an ActiveX control in Excel VBA, execute the following steps. I would like to do the following But I don't know how to do it:ġ) I would like to execute the JavaScript from the ActiveX. I am a developing a plugin for FireFox and also developing the ActiveX for IE using ATL C++. All of the internal web pages at the place I work were designed and built specifically for IE 6, but now they want me to research what it would take to move to Firefox and Safari and other major browsers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |