activex

Returning Array from ActiveX component to JavaScript

I have an ActiveX component (which I did not write and have no control over). It has several methods I want to use, which return arrays. Every time I attempt to do something of the sort: var arrayValue = axObj.methodWhichReturnsArray(); the arrayValue object is undefined. The component provider tells me that I should not be having any...

Silverlight ActiveX in MFC

Hi, I'm wondering if anyone has any ideas as to how I can host the Silverlight ActiveX control in an MFC application. I have been able to find information on this online, but everything that I have found is related to ATL or C# and so far I have been unable to translate any of this into my MFC application: Silverlight Alternative Hosti...

Problem in using OnPosRectChange to set the size of a windowless ATL activeX control

I see this problem in follwing scnerio: The activex control is created with Extent 0,0(so it is not visible in IE). Then the user clicks on a html button which has the following pseudo code: Find the object; Object.display = “visibile”; In my corresponding put_display what executes is something like this: Rect rect = //New sized posi...

How can I run a Perl script through an ActiveX Control within Excel?

I want to run a Perl script at the click of a button inside an Excel spreadsheet. As the button is assigned to execute a VB macro, the macro should effectively execute the program. As my first ever VB script, this is what I came up with, which throws up an irritating Run-time error '424': Object required error. Sub RunPerlScript() ...

Why can't I register my COM DLLs?

My application needs two COM DLLs to be registered. It is done automatically if the user has the necessary access rights, but otherwise it can be done using regsvr32. Now on a few workstations the following happens: Start cmd.exe as Administrator Register first DLL: Success Register second DLL: Failure (0x80004005, Access denied) T...

ATL, focus/activation and CDialogImpl

I'm trying to create a date-picker-like control using ATL which derives from a combobox. The idea being that I trap the CBN_DROPDOWN message and display a dialog containing (among other things) a calendar control. The dialog class is derived from CDialogImpl and just uses a dialog resource, e.g. IDD_DIALOG1 DIALOGEX 0, 0, 112, 94 STYLE ...

OLE Container for .NET (C#)

I'm working on a project that requires me to load an OLE object and render it in a .NET WinForm app (C#). Unlike VB6 .NET has no built in OLE container, and the recomended approach is to use the WebBrowser control which supports displaying ActiveX content. The issue I have is the provider of the OLE object in question does not have an Ac...

Scripting.Filesystemobject filemove, writefile not working from javascript in IE browser (workarounds, doc?)

I know it's a huge security hole to use Scripting.Filesystemobject from javascript in the browser. I heard a rumor that MS is locking down this hole in the latest version of Office. This would be bad news for the enterprise web app I am working on, which has a few critical functions which depend on access to Scripting.Filesystem object...

TABS.Upload question in classic ASP

I can't find any documentation about it except the examples. I'm trying to use their server side uploading component and I would like to save a file with another. There is no SaveAs function. What do I do? ...

How to Sign a ActiveXControl or VB Script file?

I am using an ActiveXControl object called DSO Framer downloaded from Microsoft site. Wrote a few lines of VB Script code to do additional functionality named as Document.vb. Now I would like to sign these two files to avoid warning at the browser side. How to sign them? ...

How do I add MFC ActiveX control to an existing activex project.

In visual studio 2008 I can create an MFC activex project and it presents a wizard to create a single activex control. I now want to create new controls within this project. I can't find any way to do this. ...

32 bit ActiveX Control in a 64 bit .NET App

I'm creating a C#.Net application which I want to be able to compile for "All CPUs". I also want to include a specific ActiveX control in the UI of this app, but the ActiveX control I'm trying to use does not support 32 bit. Is there some trick or work around I can use to use get this control to work? What about embedding the ActiveX c...

Caputure Signatures in asp.net mvc

I am going to start to work with electronic signatures for a website for my company. I was wondering if anyone had any suggestions on best practices and/or implementations. Note, I am not asking for anyone to spoon feed me code. I want to get ideas on how to go about it. I would like to be able to use a usb signature pad and submit the s...

The GUID what sent to WindowsMedia.com by WMP

I'm writing a simple audio player based on WMP ActiveX control, for MP3 and WMA, I found WMP can get the cover and album correctly, but the WMP ActiveX control can't do that, it means the ActiveX control always get the information from the local, not from WindowsMedia.com, if you play the file with WMP, then ActiveX control can get these...

delete rows in excel sheet using javascript

Hello , I am trying to edit an excel sheet using activex object in Javascript. The function below opens an excel sheet and creates a few entries. function test() { var ExcelApp = new ActiveXObject("Excel.Application"); var ExcelSheet = ExcelApp.Workbooks.Open("c:\\jan29.xls"); ExcelSheet.Application.Visible = true; ExcelSheet.Activ...

How to use WMP engine without Window

I'm writing a simple audio playback application, to save the codec fee, so we are using WMP ActiveX to play all music files, but it needs to create a window for ActiveX, and the thread of creating the ActiveX should have message loop. I would like to know if there is a way for WMP without ActiveX and Window? Thanks in advance. ...

Is Google Chrome embeddable?

Hi everyone! I've asked myself if one can embed the google chrome browser engine in an own application. I'm using Delphi 2009. There's an IE ActiveX wrapper component delivered with the IDE. Also, there's a Firefox ActiveX component out there, but it's based on very old code. I'd like to embed the chrome engine. Is there a way to do th...

How can I detect if an ActiveX control is loaded?

I would like to integrate the Aurigma image uploader (http://www.aurigma.com/Products/ImageUploader/) on a website. On Internet Explorer the control is an ActiveX control which issues a security prompt prior to the first installation. To give the user instructions about how to react to this security warning I'd like to display an infor...

ActiveX asks user to install every time the page loads

I think the title says it all, I have an activeX control, that ask the user if he want's to install it every single time the page loads (Even if it is already installed)... Can anyone point me in the right direction? What I have tried so far: Setting new Guids for the class & interface. Changing interfaces names & method names. Cha...

Test if ActiveX installed with Javascript?

Is there a way to test if an ActiveX control is installed using Javascript? ...