activex

Is there an equivalent to out-of-process COM EXE in .NET?

One of the nice things about COM/ActiveX was the out-of-process EXE. You could have an EXE which exposed methods and properties in a form usable by both other processes, including VBScript and JScript. At the same time the EXE could have its own functionality, related or unrelated to that exposed by its type library. What is the .NET eq...

Launching a C# dialog from an unmanaged C++ mfc active x dll

I've been told to write a dialog in C# which must be instantiated from an unmanaged c++ dll. We do this in other places in our code by simply adding a managed c++ class to the C++ project, then calling the C# dll from the managed c++ class. However I'm finding that doesn't work for me from where I have to do it. I think because the c+...

How can I make my C++ ActiveX control print nicely in Excel?

I am trying to get my ActiveX control to print out nicely in Excel. The control is written in C++. Originally I generated the control using the Visual Studio 2005 wizard. I have tested this with a simple wizard generated control to experiment with the OnDraw function and I discovered that even a control straight out of the wizard doe...

How many people have abused your 'with source' purchase option?

I'm interested in finding something out. In Delphi the default since the begining when buying components has been to be able to purchase them with source (even if it might be a slightly more expensive option). This made sense in Delphi for a number of reasons, firstly Borland led the way by providing the full source of the VCL with eve...

Is there a way to force IE to unload an ActiveX control?

We have some dynamic HTML pages which include an <OBJECT> tag that instantiates an ActiveX control. The user may then navigate to another page, which contains an <OBJECT> tag that points to a newer version of the ActiveX control. IE will download and install the new ActiveX on the second page, which is what that page is there for. The ...

How do I create an Active X control for use in Internet Explorer 7+?

I'm using Delphi 2007 and I am looking for some resources and best practices for writing an ActiveX control for embedding within Internet Explorer 7.0 (and higher). My goal with this ActiveX control is to be able to retrieve information about which websites the user is visiting, and the type of connection (e.g. HTTPS, HTTP, FTP, etc). I...

Running Activex control and Maintaining security

Hi Techies, In my a web application, I have a part to invoke an activex control .The Activex control is available in all the client PCs who are accessing my web application from web server. But When trying to run this ActiveX control from the browser in client machine (using Wshell), It was not getting invoked since "Run Activex Control...

How do I programmatically update OCX references in vb6 projects?

I periodically break binary compatibility and need to recompile an entire vb6 application composed of several dozen ActiveX DLLs and OCXs in total. I've written a script to automate this process, but I have encountered a problem. When an OCX is recompiled with project compatibility its version is incremented, and projects referencing th...

VB6 ActiveX Control Inside WPF With Scrollbars

I have some legacy VB6, which I am hosting inside an ActiveX control, which is in my WPF application. Despite putting the control inside of a DockPanel, which is inside a ScrollViewer, the VB6 displays outside the bounds of both, sitting on top of the rest of the application. Does anyone know how I can keep the VB6 inside of the Scroll...

Is any source code available that has an Active X control hosted in WPF?

I am looking for some source code and a project to download and look at that has an Active X control hosting WPF. I can not find any source code anywhere on the net. I can not add a WPF resource the usual way in an Active X control. I have to add it manually to the reference section. ...

Get a screenshot from an ASP.Net page

I have an ASP.Net page that has a button that when clicked I would like to take a screenshot of the user's PC and send it to a server. I'm ok with writing some sort of listener program to run on the server to accept requests to receive these images. Where I'm a bit hazy is the best way to get the user's PC to send the screenshot. Would ...

A weird memory leak problem

I use an ActiveX control which is just a HTTP handler. It sends out an HTTP request, gets the response and fires an event to the user. When the user is not requesting the ActiveX control is pretty much dormant. It just waits for a user request to send another HTTP request. As long as the window in which the OCX resides does not change (...

What's are the naming conventions on COM libraries? When do I choose .ocx, .oca, .tlb, .olb?

EDIT: Since the original wording of my question caused much frowning I re-phrased it. Sorry about the confusion. Until now all my COM DLLs had the extension .dll, but I assume there are some rules about that. I know there are .ocx, .oca, .tlb and .olb files. I'm aware that these files all contain "COM stuff" but what exactly? What are...

ActiveX Cab Files codebase #Version not updating CAB Properly

Ok I'm coming here as a last resort hoping that someone knows the answer to this, no answers in the newsgroups and I have done everything I know how to do, aside from a serious hack solution that I would love to avoid. Here is the situation: I have a .NET class library that is COM exposed. I wrap this into a CAB file and use the Object...

ActiveX Control not running in IE6

I am trying to get some javascript to talk to an activex control. When this works and the JS can get the controls status I get a certain message. If not I get an error message. In IE7/8 you are prompted to accept the activex control (via the warning bar thing), but in IE6 the js just cant get the controls status. I have also tries cre...

Using Scripting.Dictionary from C#

I need to pass a Scripting.Dictionary between my C# app and another app. I would like to be able to create instances of and modify the dictionary in my C# app. I know little about Scripting.Dictionary and ActiveX in general. Various forums suggest that I should use functions like System.Type.GetTypeFromProgID() and System.Activator.Crea...

Is it possible to determine if the client has a certain ActiveX control installed?

I have an ASP.Net website that pushes image files to the client. Due to wacky needs from our diverse user-base, some client workstations have an ActiveX component that they need to use in this website to manipulate this image, but due to cost, not all users have this control. What I'd like to be able to do is determine if the client ha...

Install CAB file from FireFox or command line

I have a CAB file that contains a few DLLs, and an OCX ActiveX control, an OSD describing the contents, and an INF for installing the DLLs and ActiveX control. These are coming from a 3rd party, so I can't control anything except how they are distributed to the client. They are being used within a Java applet, and they work cross brows...

Running a non-thread-safe dll in a multithreading windows http server

I need to encapsulate a VB6 application as a COM object that will be called by IIS. One of the dlls used by the VB6 app is NOT thread-safe. How can I make sure that whenever my COM object is called it doesn't share the same dll with other instances of itself? I read somewhere that ActiveX exes run each instance in a different process,...

Flash Player 10 won't uninstall from IE 7

I have a computer on my network where the Flash Player 10 ActiveX control installation is messed up in IE7, and isn't recognized as Flash Player 10 by javascript, so that any website you go to that tries to identify your flash player warns you that you need to update, and sometimes just displays alternative content (SWFObject, for instan...