activex

load ActiveX object in Applet

Hi, I have a web application that processes events and audio received from a specialised microphone. The audio is processed by a Java applet that runs in the web page, but other events (microphone connected, microphone disconnected, microphone button pressed) are handled by an ActiveX object. The ActiveX object traps these events and c...

How do I check the memory used by an activeX control in IE ?

There is an aspx page which uses the OWC Spread Sheet Active X control which loads an excel sheet, but sometimes the browser becomes busy/slow. I would like to see the stats of this ActiveX control like memory used, CPU load... etc I tried using Process Explorer and NTSD but could not trace it. Can anybody give me a hand please? ...

ActiveX in Java - Can't QI object for IDispatch

I am having an exception like this: Exception in thread "main" com.jacob.com.ComFailException: Can't QI object for IDispatch at com.jacob.com.Dispatch.createInstanceNative(Native Method) at com.jacob.com.Dispatch.<init>(Dispatch.java:101) at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:58) at test.Test...

Getting "Invalid Floating Point" error with ActiveX Control in Delphi

A vendor has developed an ActiveX control in Microsoft C++. The ActiveX worked fine when they were using the 16bit version of the compiler. The control does not work when compiled using the 32bit version within the Delphi2007/D7 environments. If you drop a control on a form and run it throws an "Floating Point Error". It is a Delphi ...

ajax problems? with activexobjects

Hello everyone, I keep getting the following error's: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://site/cms/js/interface.js :: doAjaxCall :: line 300" data: no]   uncaught excep...

Replace text in Word Document with ActiveX?

Hi there. I want replace some string within Word Document using ActiveX and JavaScript, now I have something like this: var text = Selection.Text; Selection.Text = text.replace('somesting','somevalue'); But after that I loose all formaing. If I record macros in WinWord I get this: With Selection.Find .Text = "somestring" .Rep...

Same DLL loaded twice in a process

I have an ActiveX control (foo.dll), when I embedded the same in the IE and start the page. I could see that the process explorer shows two instances of the foo.dll loaded from the same location. This causes the DLL_PROCESS_ATTACH to be called twice and the global data structures gets initialized twice. Is there a way to workaround thi...

Get more debug info from AxHost?

Hello I'm trying to deploy an application which uses an library that embeds an ActiveX control with AxHost in C#. When I run the installed app on our test rig I catch and present the following exception: Unexpected exception. This application has failed to start because the application configuration is incorrect. Reinstalling the app...

ActiveX Flash component in C# .NET 2.0 Application causes memory leak?

We have a C#/.NET 2.0 WinForm with an ActiveX ShockwaveFlashObject control on it. The program loops through a schedule of content and displays it over and over on the control, fullscreen, like this: axFlash.BringToFront(); axFlash.Movie = scheduleItem.FilePath; axFlash.Show(); axFlash.Play(); This works great, but after a couple of da...

Create an ActiveX control with pure WinAPI? (no MFC/ATL/etc)

Hi all, I'm looking at getting into ActiveX development and hopefully make a couple browser plug-ins by the end of things. I'm a seasoned WinAPI developer who has stayed away from such wrappers as MFC and ATL in the past, so I have virtually no experience in either area. However, in searching for tutorials on creating ActiveX controls in...

opening Outlook through javascript

Does anyone know how to open Outlook using Javascript? I am getting an exception (in IE6) while using this code: var outlookApp = new ActiveXObject("Outlook.Application"); ...

ActiveX dependencies in Access

I'm using the Crystal Reports Viewer 11 ActiveX control in an Access form (version 2007, 2003 format). Everything works well on my development machine, where I have CRXI installed. I copied the referenced DLL to the client's machine, but when I try to register it, it says "Can't find module" (I double- and triple-checked my spelling) a...

Deploying Access as a client-server application

I'm using Access (2003 format) as a front-end with a SQL Server 2008 backend. Each user already has Access 2003 or 2007 installed. I'm curious as to the best deployment configuration to use for efficiency and maintainability. Should I put the .MDB file on the server and place a shortcut to it on each machine? (There will only be two ...

How to enumerate all ActiveX elements with WMI?

Is it possible to enumerate all (or just enabled) ActiveX elements (*.dll, *.ocx) with WMI script? Motivation: ActiveXHelper ...

Extending an ActiveXObject in javascript

I want to add some functionality track certain calls to ActiveX object methods in javascript. I usually create my activeX object like this: var tconn = new ActiveXObject("Tconnector"); I need to log every time the open method is called on tconn and all other instances of that activeX control. I cant modify tconn's prototype because i...

How do you read cookies for the current browser page from an activex control?

We've developed an ActiveX control to print documents. The control needs to download the document from our site. To do so, it needs the session cookie that's associated with the page that the control is loaded on. While we could pass the session cookie over to the control with javascript, this will not work with httponly cookies. ...

Using a reference parameter on ActiveX via Javascript

I have an ActiveX (3rd party, no source) with a method that has a reference parameter like this: HRESULT GetSomething( [in] short param1, [out] BSTR* someString); In C++ you'd execute it like this: BSTR someString = NULL m_activeX.GetSomething(0, &someString); How would I execute this via Javascript? All other functions in the Act...

Debug ActiveX

Hello, I am trying to fix a bug on an ActiveX control. Is it possible to debug it from within Visual Studio 2008? ...

Create ActiveX OCX control

We are using a system that allows ActiveX extensions through .ocx files. I need to write an extension to plot some specific proprietary graphics. After lots of searches, I found out Visual Basic 6.0 can create these ActiveX controls and deploy them as .ocx files. So, is VB6 the only option? I'm reluctant to believe no other options hav...

What are the alternatives to dll registration for ActiveX

An application I have recently started work on has to register two dll's, "because of ActiveX". This makes it difficult to have multiple version of the application present on your machine - say the installed product version, and Debug and Release versions of the latest development sources. What are the alternatives to registration ...