activex

How can I delete (not disable) ActiveX add-ons in Internet Explorer (7 and 8 Beta 2)?

I'm developing a solution which uses an ActiveX control (a commercial one which we bought and that I did not develop). I need to develop the proper installation pages to simulate what happens when a user who has never visited the site and does not have the add-on installed comes to the page. I've found the "Manage Add-Ons" bit in Intern...

What's a good online reference for manipulating Office documents via ActiveX?

I am looking for a reference that covers using ActiveX to open and manipulate Excel (and possibly Word) documents. I'd prefer an online reference but book suggestions are helpful too. ...

What's the best/easiest way to manipulate ActiveX objects in Java?

I want to open and manipulate Excel files with ActiveX. I've had success with Python's Win32 Extensions and Groovy's Scriptom libraries on other projects but need to do this is pure Java this time if possible. I've tried the Jacob Java COM Bridge but that doesn't seem as straightforward or simple to use, and I couldn't get it to retr...

Is there a way to detect Flash playback progress, using the Flash ActiveX object, when progress is NOT on the main timeline?

I've done some programming where I've embedded the Flash ActiveX control into my program. I'll play SWF files in a "playlist" provided by the user. Typically, I've kept a timer going that looks at the CurrentFrame vs. TotalFrames to detect forward motion. I don't allow for looping - if the CurrentFrame ever decreases, I jump out of the f...

Error from Delphi ActiveX Control: Exception EOSError - A call to an OS function failed

I use an activex component in my C# program that was created with Delphi. It works fine a lot of the time, but occasionally (sometimes frequently!) the component crashes with this exception: Exception EOSError (A call to an OS function failed)(0) which leaves the control in a somewhat unusable state until the program is restarted....

How can you get the terminal service client machine name from javascript?

Is it possible to get the machine name, or IP, or MAC address (basically client network information) from javascript running Internet Explorer? I found the following code that seems to accomplish this: function Button1_onclick() { var locator = new ActiveXObject("WbemScripting.SWbemLocator"); var service = locator.ConnectServer("."...

How do read/interact with an old ActiveX SSUltraGrid using UIAutomation

I am investigating automated testing of an old Win32 application that used ActiveX controls. I am spiking use White (from Thougthworks) that uses Microsoft UIAutomation. I can find the AutomationElement related to the control, but how do I interact with it? Spy++ sees the grid control as a single window, so I can't talk to rows, column...

ActiveX plugin causes ASSERT to fail on application exit in VS2008

My MFC application using the "ESRI MapObjects LT2" ActiveX plugin throws an ASSERT at me when closing it. The error occurs in cmdtarg.cpp: CCmdTarget::~CCmdTarget() { #ifndef _AFX_NO_OLE_SUPPORT if (m_xDispatch.m_vtbl != 0) ((COleDispatchImpl*)&m_xDispatch)->Disconnect(); ASSERT(m_dwRef <= 1); //<--- Fails because m_dwRef i...

ActiveX control with multiple classes

Hello All, Currently I have an activex control and I registered it to my computer with regsvr32 foo.dll. (NOTE: This is a third party activex control so I do not actually have the source code for it, just a dll) When I pull up regedit under the classes I see my dll registered, however it has multiple classes. Foo.class1, Foo.class2 a...

Javascript registering event to object

Hello all, I have an activex object I loaded into an html page. I then use that activex object to create another object, but I need to register an event with the new object created. The object is expecting an event listener of a certain type. I can load this same dll in c# and it will work fine. Code looks like this for c#. upload =...

Resolved: Loading ActiveX object on Flex application html page

Hello all, I am attempting to load an activex object on the same page where my flex application resides. Is this possible? Can I have 2 object tags on one page? As of right now the flex application loads fine but when I attempt to access the activeX control it says its null. But if I have the same activex control on its own webpage i...

Ocx control in win form

How to create instance of AxHost abstract class ...

Need ActiveX control to embed Excel into a dialog

I'm building an "import from Excel" function. It has to be in a DLL, called from a non-MFC app. Has to provide an image of the spreadsheet that users can drag a select box around (to select cells), then click an IMPORT button, and have the right thing happen. Having trouble getting the spreadsheet up, having a button adjacent to it, an...

How to pass object parameters in ActiveX events to script

Following on from this question here I have a custom ActiveX control which raises an event "BeforePageValidated" which has a parameter "args" which is an object which contains a boolean. The purpose of this is to allow the client to override the validation and force it fail by setting the boolean value to true. I can catch the event in...

I'm looking for recomendations for ActiveX Components for processing emails.

I'm looking for ActiveX components that can easily: get and send emails via SMTP and POP3 strip out and save attachments. Convert RTF (Outlook emails) to HTML Sanitize HTML. What components would you recommend? What components do you use? ...

Programmatically Printing in Adobe Reader 9 using .NET Interop

I am using VB.Net WinForms. I would like to call the Adobe Reader 9 ActiveX control to print some PDFs. I have added the ActiveX control to the VS toolbox (the dll is AcroPDF.dll, the COM name "Adobe PDF Reader". After some experiment the following code works. Dim files As String() = Directory.GetFiles(TextBoxPath.Text, "*.pdf", Sear...

RegSvr32 registering yet nothing actually registered

A rather odd experience. Using the latest PDK (v7.3) from ActiveState, I used perlctrl to build a COM DLL. Perlctrl ran without a hitch. OLEView read the typelib okay. RegSvr32 registered it okay. However ... there's no sign of it in registry, and anything that tries to use it fails. I hunted for the various UIDs using RegEdit and they'r...

Using ActiveX objects in Javascript in Linux (in Firefox)

Hi, It's not quite a "programming" question, but I hope its related closely enough. Do you know if it is possible to configure the browser in Linux (e.g. Firefox) to use Wine to create ActiveX objects? I would like to handle web pages that use: var xmlDocument = new ActiveXObject( Msxml2.DOMDocument.4.0 ) etc. in Javascript. ...

Activex from java application?

Is it possible to easily embed ActiveX controls in Java application? Is it worth it. In my next project I should either use existing activex in Java app or have to reimplement everything from scratch, so I'm wondering what will be less hassle. ...

ActiveX communication

I'm developing an ActiveX EXE that exposes an specific class to a third-party software. This third-party software instanciates an object of this class and uses its methods. Strangely, this third-party software destroys its object of my exposed class as soon as it calls an specific method, but I have no idea why this happens. The onl...