activex

How to debug why a VB6 application using my .NET ActiveX control does not register for events?

隐身守侯 提交于 2019-12-24 10:16:46
问题 My original query was here, to give you an idea of how I did the implementation. Replacing a C++ ActiveX component with a .NET implementation? The C++ ActiveX control I am replacing uses COM events. When one of the VB6 client applications (VB6 I believe, as depends.exe tells me it uses msvbvm60.dll ) instantiates and uses my replacement, it does not register for any of the events, and unfortunately, the way it works is that after a particular method call has completed, the client application

Steps to install Microsoft Message Queuing (MSMQ) ActiveX?

那年仲夏 提交于 2019-12-24 09:25:18
问题 On Windows Vista Business, I installed the MSMQ core components but I can not see a 'Microsoft Message Queuing' ActiveX (I want to import it in Delphi). To verify my install, where should I look for the ActiveX file? The MSMQ service is installed and uses an executable in the system directory. 回答1: http://www.borlandtalk.com/threaded-com-msmq-listener-on-client-app-not-a-com-server-vt109777.html shows that there must be MSMQ type library (it uses MSMQ_TLB and types like MSMQQueueInfo, and

WinForms ActiveX RDP Client Issue With NLA

 ̄綄美尐妖づ 提交于 2019-12-24 08:18:17
问题 I'm trying to make a WinForms RDP client in C# using the RDP ActiveX control as a bit of a learning exercise. I can get everything working when the target server doesn't use Network Level Authentication (NLA), but when I try and configure the control to use 'EnableCredSspSupport', which I think is needed for NLA, I get the following error when running through the code: An unhandled exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.MSTSCLib.dll

When activating OLEControl in my PowerBuilder application, toolbar items disappear

耗尽温柔 提交于 2019-12-24 05:10:26
问题 I have created a COM Interop Control in C# to use in my PB application. If I add an ole control to my userobject and select my C# object in the painter, then an olecustomcontrol is created and everything works as expected. However, in order to use a 64-bit version of my object when building the project for a 64-bit platform (in PB Classic 12.6) I added an ole control but hit cancel when asked to select an object, so an olecontrol is created and I can use InsertClass to select my object at

How to use ActiveX with ASP.NET

爷,独闯天下 提交于 2019-12-24 03:11:59
问题 I have created an ActiveX component, but not able to access that ActiveX compoment in ASP.NET. It gives "Microsoft JScript runtime error: Automation server can't create object" error message while creating activeX object using javascript. ActiveX Component Code: using System.Runtime.InteropServices; using System.Windows.Forms; namespace FirstActiveX { [Guid("465F2D2E-C638-413e-A353-01E09DC4C7ED")] [InterfaceType(ComInterfaceType.InterfaceIsDual)] [ComVisible(true)] public interface IMyActiveX

Best way to use a dll from an ASP script

痴心易碎 提交于 2019-12-24 02:43:16
问题 I'm writing some ASP code to service requests from a simple HTML form on my company's intranet. The code needs to call methods from a (COM) dll. I'm using the code: myObject = Server.CreateObject("myDLL.myClass") but it's giving an error at this line. I'm not sure if the dll is registered on the server, but I suspect it may not be. I'm not sure how to find this out. If it's not registered, is it possible/best practice to: Use the dll without registering it on the server (I have the .dll file)

Invoke ActiveX In Electron

血红的双手。 提交于 2019-12-24 01:40:15
问题 I have several activex controls( .cab files) for DSVerify Or DigitalSignature and in the past i use html and load them into ie like: DigitalSign.GetSelCertSign(); ... <object id="DigitalSign" codeBase="DigitalSign.NJGGZY.x86.cab#version=3,0,0,1" classid="clsid:AE9C27E1-AF18-48A6-8087-026064B130D5"></object> and now i want to use electron as cross-platform runtime, but i don't know how to invoke these activex plugins in electron , or how to embeded ie in electron? 回答1: It's not possible, sorry

Inconsistency while invoking JavaScript Method in Internet Explorer ActiveX control

房东的猫 提交于 2019-12-24 00:56:08
问题 I am working on interfacing MATLAB with Google Earth Plug-in. The interface uses Internet Explorer ActiveX control as host for the Google Earth Plug-in as the plug-in uses JavaScript. In a simple demo below (testJS.html), I successfully imitate a straight movement in Google Earth using pre-defined coordinates. (Works only on Firefox and IE, although on IE the speed is a little bit fast). Using the same coordinates, I invoked the JavaScript methods from MATLAB script. Instead of straight

Why doesn't implementing IObjectSafety make a difference?

戏子无情 提交于 2019-12-23 19:52:48
问题 we have an activex object which implements IObjectSafety to indicate that it is safe for scripting. It installs from a trusted site. but we still get the IE complaint that the control on this page is not safe for scripting. The admins for the site that are running our activex are reluctant to enable controls not marked safe for scripting even though its the trusted zone. our cab and all its components are signed (we finally made the uverified publisher go away by signing every dll that went

Active X Control JavaScript

空扰寡人 提交于 2019-12-23 07:31:44
问题 My coworker and I have encountered a nasty situation where we have to use an active X control to manipulate a web camera on a page. Is it possible to assign a javascript event handler to a button in the active x control so that it would fire an action on the page when clicked, or do we have to create a button on the html page itself that manipulates the Active X Control and then can fire any necessary actions on the page? 回答1: Please just use an existing ActiveX control. Like Flash or