activex

Getting "ActiveX controls could not be instantiated. Reinstall or register the controls and try again" message when viewing Dialog

I have an existing Visual C++ project using MFC that I'm running within Visual Studio 2008. The machine was just setup and installed and I have pulled the project from Source Control. The solution builds ok, but if I go into the resource file and try to pull up and view a dialog, I get the message 2 ActiveX controls could not be inst...

How to show the ActiveX Yellow bar?

I'm trying to set up a webpage that downloads the OCX and installs it with the user permission when the user right click in the yellow bar Note: it's a business app and I know... IE, but 95% of company customers use it and it's easy for us to move from Windows > OCX first and then to full WebService What I did was create a cab file wi...

From an ActiveX control, can I tell what domain it is being created from?

If possible, I want to prevent my ActiveX control from being accidentally executed by untrusted pages, because it can be used to download and run a file. One idea is to have the control know the domain of the HTML page it is instantiated on, and prompt the user if they trust this domain. It would remember this choice in the registry. If...

Calling web service from SQL Agent Job not working

I have a a SQL 2000 DTS package that is scheduled to run from a SQL 2005 SQL Agent job. In this DTS there is a ActiveX step that has the following VBScript to call a webservice. Dim http: set http = CreateObject("MSXML2.ServerXMLHTTP.6.0") http.setProxy 2, "http://123.45.67.89:8080" http.open "GET", "http://mywebservices.com/MyWebMet...

Can not debug an ActiveX inside a VB6 project with several components inside

Hello, I have to debug a big application done in VB6. The application is comprised of a main EXE, some ActiveX projects and other ActiveX control projects. The problem I'm facing is that I cannot hit breakpoints inside some ActiveX projects. Looks like the application is using the OCX outside the debugger because the application runs b...

OCX keeping parent process open after terminating

I have an ocx written in Delphi 2006 that runs inside IE. Been working fine for years. I recently noticed that the last few releases have resulted in Iexplore process staing in memory even after the web page has been closed. Its been driving me mad tring to figure out how to resolve this one. Something I just noticed now, when I ro a re...

Using activeX component in shared hosting

I have a shared hosting for asp classic, i am using an activeX dll in my asp script. ASP page works fine when i register the ActiveX component, i am using CreateObject function, but on live shared hosting i can't register my ActiveX component. Any idea how to use ActiveX component in shared hosting. ...

How does YouTube embedding work without a classid in the object tag?

A typical code fragment obtained from the YouTube embed feature looks like this: <object width="660" height="405"> <param name="movie" value="http://www.youtube.com/v/NWHfY_lvKIQ?fs=1&amp;amp;hl=en_GB&amp;amp;border=1"&gt;&lt;/param&gt; <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="alwa...

How to find interfaces of an ActiveX control?

Given an instance of an ActiveX control, how do I enumerate it's interfaces? (I'd like to get the names of the interfaces). ...

Firefox Plugin Domain Restriction - Similar to IE's SiteLock

Hello everybody, I would like to know if there is any functionality in the Gecko SDK/NPAPI that would allow me to restrict a plugin-usage to restricted domains only. Exactly like SiteLock for IE does with ActiveX components. Any similar implementation in NPAPI, for example? ...

Wrap ActiveX to Intercept Calls (ActiveX Proxy wrapper)

Hi all, I have a deeply ingrained ActiveX control in our system which I would like to learn about / fix! I am thinking about wrapping this MFC dll with a transparent proxy class that will intercept the member etc. HOW can this be approached in MFC. Thanks! ...

Microsoft ActiveX Data Objects Error

I'm referencing the following dll in a VB6 dll I'm creating: Microsoft ActiveX Data Objects 2.8 Library After making the VB6 dll, it works fine, but on other people's computers, the following error pops up: Run-time error '429' ActiveX component can't create object I'm pretty sure this is related to the Microsoft ActiveX Data Objec...

windows installer for COM component

I have a C++ activex control that I need to make an installer for. It needs to drop the dll and make some registry keys. I have about 6 .RGS files which I made for self-registration via regsvr32, which work. To do an installer I am manually porting the RGS scripts into the visual studio 2008 windows installer registry GUI. I feel like ...

How to automate activex control UI

We are automating application UI with MS "AutomationElement Class". In same application few activex controls are also available and we are currently unable to automate the controls which are available in Activex. Can you please let me know whether there is any way to automate activex controls. ...

Run-time error '429'

I have developed an inventory management software using VB6. and i have copied it on Client's machine and it was working. but 3 days before they formatted the system and now i copied the software again an i tried to run the application. but i got the following error message Run-time error '429': ActiveX component can't create objec...

ASP.NET form's data encryption without SSL

Normally, if I complete a form, the data will be sent to the server as raw plain text which could be read by sniffers. I want to encrypt form's data client-side (like username, password,...) and then send them to the server. It seems that there are two ways: 1- Using SSL (in my scenarion, I can't use) 2- Using custom ActiveX control. 3...

VS2008 freezes when creating activex window

I have a Visual Studio 2008 WTL 8.1 project that uses an ActiveX HTML dialog control. Unfortunately, when the view is created, VS2008 freezes and the application dialog never appears. The callstack just before the lockup looks like this: ax_test.exe!WTL::CFrameWindowImplBase<ATL::CWindow,ATL::CWinTraits<114229248,262400> >::Create(HWND...

Handling ATL/ActiveX events from within JavaScript

I have an ATL ActiveX control that raises three events (Connected, Authenticated, Disconnected) which need to be handled in IE/JavaScript. So far as I can tell, I'm doing everything right, specifically: (1) I've told ATL to implement the IProviderClassInfo2 interface, as described here. (2) I've implemented connection points within my...

.NET programmatically locate text box in ActiveX control, modify its text and submit it

I have an ActiveX control (Adobe PDF Reader) with a toolbar. This control doesn't expose some functions available through toolbar (mainly search function). I'm looking for a way to programmatically locate Search field on the toolbar, enter the text and invoke search (equivalent of pressing Enter in this field). What's most accurate way t...

Read a ActiveX control using a PHP?

I am not sure is it possible or not.I dont have any Idea on this.I am using one SDK with for the scanner scanning the document and getting the values.Now I want to access the SDK from my website to the local system.For that I want to read the ActiveX control using PHP?Is it possible to read the ActiveX control from PHP?Or do you have any...