activex

VB6: Question about version numbers of dependent OCXs

Is it important for a VB6 app to refer to certain OCX versions? I have noticed that if I put my VB6 app code through the IDE on one machine then the form files will refer to different version of some OCXs than if I use another machine. What is the rule of thumb with this? Is it safe to assume that most of these old OCX versions will b...

IE attachEvent on object tag causes memory corruption

I've an ActiveX Control within an embedded IE7/8 HTML page that has the following event [id(1)] HRESULT MessageReceived([in] BSTR id, [in] BSTR json). On Windows the event is registered with OCX.attachEvent("MessageReceived", onMessageReceivedFunc). Following code fires the event in the HTML page. HRESULT Fire_MessageReceived(BSTR id,...

How to pass associative Array parameter from javascript to ActiveX object?

I'd like to pass an associative array (or simply an object with property names & values) to my ActiveXObject. I can't find anyone who has successfully and simply passed complex data from javascript to an ActiveX object. My ActiveX object is being loaded in IE, and it's mine so I can change the method signature & code to whatever will w...

Launch application from a browser

Hello, Is it possible to launch an application from a browser? I am not talking about opening a file from a browser (like open a PDF with Adobe Reader), but rather opening a new (blank) instance of an application that is installed on the user's machine. Hypothetical situation: User browses a website that lists computers that can be man...

File browser control to replace <input type="file">

I'm working on an ASP.NET web application for our corporate intranet users. I have a form where a user should provide a path to the file on the local network (something like "\localServer\someFolder\someFile.ext") without uploading the actual file. The issue is that users don't want to type the whole file path and want to use some kind ...

Wrapping a Delphi TFrame descendant as an ActiveX control

I am trying to wrap up a TFrame descendant as an ActiveX control, but don't seem to be able to get the control to show up in the ActiveX Control wizard. Is this approach possible, and if so, are there any working examples that I can be pointed at. I have tried to follow the instructions here, but as I said the control show in the list o...

How can I launch an external application from the Browsers (IE, Firefox, Chrome, Safari) in windows

Is it possible to embed an external application inside the browser (IE, Chrome, Safari, Firefox) so it will look like a native web application but actually having access to the USB ports of the client machine? I have heard that I need to make an ActiveX control. I would like to use the .Net framework, but if that is not possible, maybe u...

HTTP web wodwebserver ocx

Hello guys, THas anybody done any projects with the webserver from an existing control found here http://www.weonlydo.com/WebServer/web.http.server.com.activex.component.asp i need ideas on how i to develop/implement these settings on a webserver, Documents, Redirect, CGI, Associations, MIME Types i just out of ideas, i have only do...

Making object model available via Automation in Delphi: what’s the easiest way?

We’re rewriting a calculation core from scratch in Delphi, and we’re looking for ways to let other people write code against it. Automation seems a fairly safe way to get this done. One use we’re thinking of is making it available to VBA/Office, and also generating a .NET assembly (based on the Automation object, that's easy). But the...

How to best utilize the new Type Equivalance features to host the MapPoint Control in a WPF Application

How to best utilize the new Type Equivalance features to host the MapPoint Control in a WPF Application. This is related to my other question about what is entailed as far as maintaining interop assembleis with regard to the new NoPIA and Type Equivalance features. But now I'm interested in actually getting a working implementation to s...

ActiveX Object is not defined

Firebug is giving me the following error: ActiveXObject is not defined [Break on this error] var xmlhttp = new ActiveXObject("MSXML2.XmlHttp"); I've read that ActiveX is a Microsoft framework and its mostly used in IE. All of the internal web pages at the place I work were designed and built specifically for IE 6, but now they want m...

What is a good way to rewrite ActiveX functionality?

All of the internal web pages at the place I work were designed and built specifically for IE 6, but now they want me to research what it would take to move to Firefox and Safari and other major browsers... and ActiveX does not work in Firefox. So what would be a good way to take what is currently the ActiveX functionality and totally ...

Using Iwebbrowser2 , I want the handle to the ie window created by navigate2

Hi Folks, In C++, I am creating an IE window (IE7) with CoCreateInstance, and using Navigate2 to navigate to a web page. I want to be able to get the handle to the IE window created by Navigate2. Notice in Navigate2, I give a window name as a parameter. Using get_HWND() is not working. I'm getting a handle to an IE window but not the o...

Issues in placing Winforms user control carrying a VB6 activex in asp.net web page

I have a 3rd party ActiveX control built in VB6 which I need to use in an ASP.NET web application. But as the ActiveX is using window handles as parameters to method calls, I am not sure how to do that in a web browser as we do not have windows controls and hence no handles in web applications. The ActiveX provides methods like: long Ad...

Adding an OCX control to a web page Dynamically

Hi, I currently have an web based application that hosts an OCX control. I want to be able to add this control programatically if possible allowing me to plug in new OCX controls without having to ammend the OBJECt tag in the HTML. I also need to be able to maintain the ability to download the OCX control to the Client if it is not fou...

VB6 + classic asp: developing activeX component

hi all, i've created a little activeX dll under vb6 which i'm running under classic asp. my question: once the dll is compiled it has write-protection caused by the IIS (access denied). i have to completely stop the webserver, then recompile + restart the server again. is there a more convenient way to do this? maybe even without havi...

SiteLock Implementing IObjectSafety BUT Not Working in IE

Hello folks, I have used the SiteLock 1.15 template to restrict domain access to my ActiveX control so that only a list of pre-approved domain can use it. Everything compiles ok, and even the SiteList.exe application that is supplied with the SiteLock template correctly shows the list of domains that I defined inside the ActiveX Control...

Install new version of my ActiveX control

How do I make the client to install a new version of my ActiveX control? Ive tried to change the version number in the codebase to the version number my dll is, but it keeps running on my old version. Do I need to change the GUID? ...

Convert Smart Device Dll to ActiveX control for Windows Mobile

I am using C# and Visual Studio 2008. I have a class that will turn on the scanner of my Windows Mobile Device and then will capture the read of the scanner when pressed. It will also shut down appropriately and cleanly. I am using a vendor provided SDK to do a lot of the heavy lifting. I have this working correctly in a Mobile App, b...

Video Player Plugin Development for Internet Explorer and Safari

Hello, We are planning to develop a browser plugin for IE and Safari to stream video in a proprietary video Player. We are investigating for the required technologies and various design approaches. Could someone help by answering the following questions? What are the various aspects we need to focus while designing the plugin? What i...