activex

RFID reader integration with web page [closed]

大城市里の小女人 提交于 2019-12-01 09:52:36
I have a problem regarding RFID card reader integration to a web page. I found out that the solution is to achieve this ActiveX component and java script. so, my question is that how can we build a ActiveX component for card reader and the java script Codeline to access this activex Component. Or if you can suggest an alternate way to integrate RFID reader to communicate directly with a web page, that would be great. SpringCard provides a technical guide and a live demo for developing a web page communicating with a PC/SC reader using Java applet. You will find it at the page, under Other

JavaBeans ActiveX Bridge for Java 8?

▼魔方 西西 提交于 2019-12-01 09:24:47
问题 There used to be a JavaBeans ActiveX Bridge but AFAIK this is no longer supported under Java 8. I want to call my JavaBeans from Excel, so what is the way to go with Java 8? The problem is I have some legacy JavaBean packaged in a dll that I use from Excel VBA. I don't have the source code to this bean. But I still want to use it with Java 8/9. Is this possible? 回答1: I solved the problem using Obba: I read the Java bean with a Java parser and generated a VBA wrapper method for each Java

matlab automatically save excel file using activex interface

非 Y 不嫁゛ 提交于 2019-12-01 07:36:21
I have a code in matlab. After I have run my program, a file 'example2.xlsx' was created. Now I have the code below and I want matlab to replace the current 'example2.xlsx' by the new 'example2.xlsx' (saving automatically without asking me if I want to replace it): e = actxserver ('Excel.Application'); % # open Activex server filename = fullfile(pwd,'example2.xlsx'); % # full path required ewb = e.Workbooks.Open(filename); % # open the file esh = ewb.ActiveSheet; str = num2str(num_rows+1); esh.Range(strcat('J',str)).Interior.Color = clr; sheet1 = e.Worksheets.get('Item', 'Sheet1'); range1 =

Passing array of bytes from ActiveX to javascript and vice versa

佐手、 提交于 2019-12-01 06:53:45
I need to pass data (byte array, i.e char*) from ActiveX object (using Visual C++ with ATL) to my javascript code (and vice versa). I've digged the Web for such problem and tried lots of solutions but have not succeeded. I've tried the followings: Converting char* to BSTR and pass it to javascript (JS), but my result in JS is "", due to the nature of my data is not string. //in C++: STDMETHODIMP CActiveXObj::f(BSTR* msg) // msg is the return value in ATL automation function { char *buffer; // byte data is stored in buffer *msg = SysAllocStringByteLen((LPCSTR)buffer, bufferLen+1); } ///////////

How to get a IHTMLElement pointer to the <object> tag hosting an activex control

牧云@^-^@ 提交于 2019-12-01 05:34:35
问题 I have an ActiveX control generated by the FireBreath framework (http://firebreath.org). I need to get a reference to the <object> tag in the page that hosts the plugin from C++. If I were using NPAPI, I would use the NPNVPluginElementNPObject constant with NPN_GetValue. so to make sure I am being clear, say I have the following in the page: <object id="testPlugin" type="application/x-someplugin" width="100%" height="100%"></object> I want to get a reference to the plugin like I would if I

matlab automatically save excel file using activex interface

你离开我真会死。 提交于 2019-12-01 05:27:26
问题 I have a code in matlab. After I have run my program, a file 'example2.xlsx' was created. Now I have the code below and I want matlab to replace the current 'example2.xlsx' by the new 'example2.xlsx' (saving automatically without asking me if I want to replace it): e = actxserver ('Excel.Application'); % # open Activex server filename = fullfile(pwd,'example2.xlsx'); % # full path required ewb = e.Workbooks.Open(filename); % # open the file esh = ewb.ActiveSheet; str = num2str(num_rows+1);

Create CAB file for ActiveX installation for IE

只愿长相守 提交于 2019-12-01 04:42:13
I created a cab file that contains my activex using CABARC.exe. I also created an .inf file. My inf file looks like this: [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] MySetup.exe=MySetup.exe [MySetup.exe] file-win32-x86=thiscab clsid={49892510-B520-4b35-8ADF-57084DD2F717} My html looks like this: <object name="secondobj" style='display:none' id='TestActivex' classid='CLSID:49892510-B520-4b35-8ADF-57084DD2F717' codebase='http://myurl/MySetup.cab#version=1,0,0,0'></object> I created the CABARC using the following commmand: C:\tools\Cab\BIN>CABARC.EXE N MySetup.cab MySetup.msi setup

is DISPID_VALUE reliable for invokes on IDispatchs from scripts?

不羁岁月 提交于 2019-12-01 03:58:16
问题 Continuing from this question, i am confused whether DISPID_VALUE on IDispatch::Invoke() for script functions and properties (JavaScript in my case) can be considered standard and reliable for invoking the actual function that is represented by the IDispatch ? If yes, is that mentioned anywhere in MSDN? Please note that the question is about if that behaviour can be expected, not what some interfaces i can't know in advance might look like. A simple use case would be: // usage in JavaScript

System.Windows.Forms.AxHost.InvalidActiveXStateException was unhandled

给你一囗甜甜゛ 提交于 2019-12-01 03:45:33
I am continuously struggling with this exception An unhandled exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.SBXPCLib.dll any help please, am i missing some thing. Try this,it will solve your problem: For each and every active x control, it is needed to create it first, so that all the events and handles should be initialized. So try this: axMDocView1.CreateControl() The answer by Vishal is Fulfill your requirement but here I wanted to add one more thing with it. If you wanted to reflected this changes via all the threads and not only by

Double colons in function declaration in Javascript?

房东的猫 提交于 2019-12-01 03:21:47
问题 Today I found this code snippet: <object ID="FF" CLASSID="clsid:guid" CODEBASE="url" VIEWASTEXT></object> <object ID="FileSaver" CLASSID="clsid:guid" CODEBASE="url" VIEWASTEXT></object> … <script language="javascript"> function FileSaver::OnFinished(Status){…} function FF::OnFinished(Status){…} </script> I can't find anything relevant to explain this syntax. Is it really javascript? Is it correct? If not, how the code should look like? This is a single page without external script links. Note