I want to make a class of mine accessible in JavaScript via a C# WebView-Control. Therefore I am using the WebView.AddWebAllowedObject method. However if I assign an attribute, it works fine, but if I assign the whole class to get all attributes in j...
I have found a useful billards physics library in Borland delphi for my hobby project. The code is object oriented(in Object pascal). I want to visualize it using webGL (javascript) in chrome browser.  The idea is, I should have one call to make from...
I have a computer running windows and connected with many devices, such as printer, RFID reader, etc.  I want all my apps run as HTML, CSS, Javascript, so I need to access these devices through Javascript. But I don't know if it is possible to ad...
I have followed this example to create a COM event to be used in javascript. However, I am not a fan of the final attach code?  <script for="myComComponent" event="MyFirstEvent(args)" language="javascript">     function...
I have embedded a web browser control in my c++ application. I want javascript running in the web browser control to be able to call a c++ function/method.  I have found mentions of three ways to do this:   Implement an ActiveX component that acts as...
I'm working with an API that has a COM-based interface. I've been using the win32ole module to instantiate the API, but one of the API functions requires a null value, and win32ole complains when a null argument is passed. I found this workar...
Consider the automation-compatible COM library in C#, given below. It follows a common COM pattern of having a visible factory coclass FooFactory implementing ICreateFoos which creates an object of type IFoo. FooFactory is the only coclass in the typ...
I am trying to make a connection between Matlab and a Javascript (typescript in my case) program with a COM automation server as suggested on the MathWorks website. The docs on the website have examples for some languages created by MS, not for javas...
I am working on an ASP classic project where I have implemented the JScript JSON class found here. It is able to interop with both VBScript and JScript and is almost exactly the code provided at json.org. I am required to use VBScript for this projec...
This question has been asked many times before: How do I run COM/ActiveX control in other browsers other than Internet explorer. The answer i simply "No! Rewrite your code. It is not recommended, security issue" and so fort.  However, I am in...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.