activex

How do I create a deployable ActiveX control?

I have written a simple ActiveX control using Visual Studio 2010. I have registered this control on my development machine using regasm, and I can invoke the control in IE using Javascript's new ActiveXObject("...") functionality. However, I now need to prepare my ActiveX control for deployment to the customer, and this is where I need...

Python and Excel: Overwriting an existing file always prompts, despite XlSaveConflictResolution value

I'm using the Excel.Application COM object from a Python program to open a CSV file and save it as an Excel workbook. If the target file already exists, then I am prompted with this message: "A file named '...' already exists in this location. Do you want to replace it?" That message comes up despite the fact that I have set the XlSav...

deploy an ActiveX Component as msi or cab?

I'm trying to deploy my dll (just a dll that needs to be registerd, nothing else) but cannot figure out the best way to do it. A CA signed cab seems to be the nicer way to do it, since it doesn't seem like a full program to the user and he only gets one prompt, but I'm facing the following problem: the cab is downloaded, then the yell...

Qt QPixmap::grabWidget on ActiveX widget

I have a Qt app which embeds a Flash Player ActiveX control. I put a button over the flashplayer and I need to set some parts of it transparent. Since the AX control is not part of the Qt rendering pipe, it's needed to fake the transparency. For this purpose I grab the contents of the AX control from under the button, and use it when ren...

vb6 activex document project silent install

I have a vb6 activex document project and I need to create an msi package (thats what is the requirement since it has to be deployed thru active directory) that runs without any user interface and user intervention. I followed these steps: I created an msi project using visual studio installer and removed all the user interfaces. Added...

ActiveX control going blank in one host container but not others

I need to use activeX to create a plugin for a legacy application. I'm using C# so that i can share the codebase of several related stand alone products. When I host the control in the SDK's test container (TstCon32.exe) everything works fine. The problem is that when I try to load it in the target application the first time I click...

What is the proper way for an activeX (COM) control to clean up when closed by its parent?

I'm having problems with my .net controls not getting cleaned up properly when wrapped for activeX use. Default behavior leaves the SDK's test container app (TstCon32.exe) running as a GUIless process when I try and close it. The workaround I initially found via google was to override WndProc and call Environment.Exit(0) manually. Thi...

WebBrowser control has different results for loading URL and setting DocumentText containing Silverlight

I have a .NET 2.0 app (using C#) that shows some dynamically constructed HTML pages, some of which contain Silverlight. Here's a simple example of the HTML (Note, I am using absolute paths): <html> <head></head> <body> <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" he...

Ajax modal popup loads behind the activex control

In a page there is an activex control as well as a button whose onclick opens an ajax modal popup. The problem i face is that whenever the button is clicked the ajax pop up loads behind the activex control and thus it is hidden.So I am not able to use that control at all. I have not found a proper solution to this. I tried a solution wh...

Why does my .NET ActiveX control fail to register in Internet Explorer?

I am writing an ActiveX control to run in Internet Explorer. I am using C# and the System.Runtime.InteropServices namespace. When I register the control manually on my development machine using regasm, the control works and I can invoke methods on it using Javascript's new ActiveXObject(..) functionality. However, for production I wan...

Primer on ActiveX Controls

I would like to use an ActiveX control - almost exactly like Edraw - to load and edit MS Word documents in IE. I found this MS article and FramerEx; can I use FramerEx? How do I write the HTML to include FramerEx? Also, can you point me to a primer on ActiveX controls? Many thanks. ...

activex detect barcode scanner

I need to develop an activex control that could be embedded in a web page. The control should detect barcode scanners, check the status of the same. Kindly provide some pointers or advice if you know of any 3rd party tools that do that. ...

associative array from javascript to activex object

I need to pass an associative array from Javascript to a C++ activex control in IE6+. It seems a shame to write my own type for something so standard. It doesn't have to work with native JS objects, I can use a custom associative array type if I need. I've been googling for a couple days and there isn't a lot of information on this subj...

google desktop gadget registering a .net 2.0 dll

I am trying to create a gadget which uses a COM visible .net 2.0 dll. And I have been trying to make it work since last one week. Here are a few instructions that I found to make it work: http://markmail.org/message/jkbjk2kjbyyqozc6 But I am not able to understand the 3rd step. I have manually registered the dll classes in the regi...

COM visible dll as ActiveX Object

What is a COM visible .net 2.0 dll? (I have got one) Can I register this dll to the windows registry and use it as an ActiveXObject? For all the dll's registered in registry (HKCR) that have the child node InprocServer32, are accessible with the ProgID through ActiveX? [I am new to this] Thank you. ...

Automated file upload from browser

After all what I've read on this topic, I know that there is no way to do automated file upload from browser without some kind of "elevated permissions". But, elevated permissions is something what I have, bacause the application runs on intranet and user currently enables access to ActiveX control that makes it possible to do some docu...

what's the difference between an activex control and an activex object?

"ActiveX controls — small program building blocks — can serve to create distributed applications that work over the Internet through web browsers. Examples include customized applications for gathering data, viewing certain kinds of files, and displaying animation." (wikipedia) is an Object an instance of a Control? ...

Gecko 2 ActiveX Control VCL component in Delphi?

Hey there, How can I import the Gecko 2 (used in Firefox 2) Active control into the component palette so I can add it to my form at design-time? Basically, I want something like a TWebBrowser component, but not using Internet Explorer. Nor do I want the outdated Mozilla Control ( http://www.iol.ie/~locka/mozilla/mozilla.htm ) or the Ge...

Execute ActiveX using javascript examples?

Hi, I am trying to create a class that can be access locally through a browser using javascript. I have done some reading and I see ActiveX can do this. I have looks for simple hello world step-by-step examples for how the ActiveX & JS might interact with each other so I could break it down and get my head round it but cant seem to fin...

Writing a simple ActiveX control for IE that has one method

I'm learning how to write a scriptable ActiveX control. My goal is to have a tiny control that can check to see if something is installed on the system. What I've done so far is: Create a MFC ActiveX control project in VS2008 Add some 'safe for scripting' bits that I found here. Extend the IDL to provide my "IsInstalled" method, which ...