activex

Install CAB file from FireFox or command line

随声附和 提交于 2019-12-22 00:24:18
问题 I have a CAB file that contains a few DLLs, and an OCX ActiveX control, an OSD describing the contents, and an INF for installing the DLLs and ActiveX control. These are coming from a 3rd party, so I can't control anything except how they are distributed to the client. They are being used within a Java applet, and they work cross browser, but only IE seems to support actually installing the CAB file. The installation is being done via: <OBJECT classid="clsid:actual-class-id-here" NAME="name"

Install CAB file from FireFox or command line

风格不统一 提交于 2019-12-22 00:08:09
问题 I have a CAB file that contains a few DLLs, and an OCX ActiveX control, an OSD describing the contents, and an INF for installing the DLLs and ActiveX control. These are coming from a 3rd party, so I can't control anything except how they are distributed to the client. They are being used within a Java applet, and they work cross browser, but only IE seems to support actually installing the CAB file. The installation is being done via: <OBJECT classid="clsid:actual-class-id-here" NAME="name"

Implementing VLC player in a Windows application: Programatically registering an ActiveX component

人盡茶涼 提交于 2019-12-21 23:15:44
问题 Im using the following guide to implement a VLC player inside my windows application: http://www.codeproject.com/Questions/163016/How-to-embed-VLC-control-in-c-net-windows-applicat (see the top rated answer) On step 2 in the guide, it says that I have to register the ActiveX component: regsvr32 "D:\Program Files\VideoLAN\VLC\axvlc.dll" How do I do this programatically in the software so that the user doesn't have to? Im unsure on how to proceed here. Can anyone help me? 回答1: Please try this

WPF Window transparency while hosting a Flash ActiveX component

ぃ、小莉子 提交于 2019-12-21 20:53:14
问题 My application has a custom window design, which means that every window has the following parameters set (XAML): WindowStyle="None" AllowsTransparency="False" One of the sub windows needs to display a Flash component, the Flash ActiveX component is hosted thrugh XAML: With regards to window transparency , there is a known issue with WPF and hosted winforms components, it just doesn't work out of the box. In order to be able to view the Flash component, AllowsTransparency must be set to

Using SetParent to steal the main window of another process but keeping the message loops separate

孤者浪人 提交于 2019-12-21 20:47:42
问题 Background: My coworker and I are maintaining a million-line legacy application we inherited. Its frontend is written in VB6, and as we're devoting almost all of our resources to converting it to C#, we are looking for quick & dirty solutions to our specific problem. The application behaves in a plugin-ish manner. There are up to 20ish separate ActiveX controls that can be loaded at once in a grid-style layout. The problem is that the ActiveX controls do all of their processing on their own

Using ActiveX PropertyBags from C#

戏子无情 提交于 2019-12-21 19:55:41
问题 I have created a .NET user control with an ActiveX interface. It works well. Now, I want to be able to read and write from the property bag for the ActiveX interface. How would I do this? 回答1: The easiest is to use client script to pass the parameters values to the ActiveX <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> <script language="javascript"> function Rundata(file) { var winCtrl = document.getElementById("YourActiveX"); winCtrl.Option1 = file;

Delphi 2009 COM/ActiveX Type Library support stability

烂漫一生 提交于 2019-12-21 09:16:09
问题 Referring to TLB and maintenance issues ... My question to people (often) using the new COM/ActiveX type library support in Delphi 2009 : How stable is the implementation? Especially, I'm interested in: adding/deleting classes, changing GUIDs, renaming methods/properties, reordering methods/properties, huge type libraries (50+ classes), ... Is it as stable as in Delphi 2007 (a nightmare) or Delphi 7 (quite OK, but sometimes you have to restore the TLB file from SVN) or super-stable (as in, ..

ActiveX DLL Error

佐手、 提交于 2019-12-21 08:14:41
问题 OK while I never thought in 2012 I would be writing my first ActiveX control (and yes there is a good reason for it) I am struggling with getting it running under Windows 7 (x64). The Solution Short Story: I was missing /codebase from some of my regasm calls and also mixing up 32 and 64 bit processes, but that wasn't being helped by the standard VS2010 command prompt mixing up 32 and 64 bit paths for regasm and cscript. The long story follows: I have been bouncing between Creating an ActiveX

Handling ATL/ActiveX events from within JavaScript

只谈情不闲聊 提交于 2019-12-21 06:23:20
问题 I have an ATL ActiveX control that raises three events (Connected, Authenticated, Disconnected) which need to be handled in IE/JavaScript. So far as I can tell, I'm doing everything right, specifically: (1) I've told ATL to implement the IProviderClassInfo2 interface, as described here. (2) I've implemented connection points within my ATL project by following the directions here. I now have a CProxy_IMyControlEvents class, with the appropriate Fire_Authenticated(), Fire_Connected() and Fire

Creating digital persona fingerprint template from serialized data

我们两清 提交于 2019-12-21 06:17:33
问题 This is a very specific question which will probably earn me the tumbleweed badge, but please answer if you can I've imported DigitalPersona sdk dll's as type libraries into Delphi and am trying to verify fingerprints which I've stored as serialized data in a database, it's working very awesomely. Enrollment seems to work fine, but I can't turn the binary data from the finger prints back into DPFPTemplate objects. I keep getting an OLEException every time I try to used the defaultinterface