activex

Is there a way to run ActiveX components in Firefox through the use of a plugin?

I have an ActiveX plugin that we need (if possible) to run in Firefox. Is there a plugin (or other way) for Firefox that will allow this? ...

shdocvw Web Browser control zooming

I am using the web browser control from shdocvw.dll to build an html and image viewer that I'm automatically controlling. Some of the images I'm loading are pretty large in resolution so I'd like to be able to automatically zoom the control out to the extent of the content, and would like to support back to IE6. Is this possible? ...

How to read DOM of the iframe loaded with a page from another domain?

Is there a way to access the DOM of the document in an iframe from parent doc if the doc in the iframe is on another domain? I can easily access it if both parent and child pages are on the same domain, but I need to be able to do that when they are on different domains. If not, maybe there is some other way to READ the contents of an i...

Can you install an ActiveX control in IE without having administrator privileges?

I'm working on a web app that needs an ActiveX control to function. It installs just fine when the user has admin privileges, but fails to load otherwise. Is this by design and if so, is this documented somewhere? (preferably MSDN) ...

ReportViewer Client Print Control "Unable to load client print control"?

Has anyone come across this issue? Seems MS have broken it with their own update: A number of people have reported problems using the ActiveX print control in the report viewer after installing Microsoft Update 956391. Specifically, users receive the error "Unable to load client print control" when clicking on the print...

ActiveX Document or something like it on C#/.NET

How can I implement ActiveX Document on C#/.NET? (ActiveX Document can draw itself in IE) Update: I need a solution for drawing my own document type in IE windows (like MS Word or MS Excel draw its documents in IE). ...

IIS7 error when calling non-activeX dll from COM+ activeX dll called by classic asp

Hi, I hope someone can help me out with this: I have a classic ASP application that works fine on older versions of IIS but not on IIS7. The asp code calls COM+ activeX dll's (written in VB6) and I have managed to get everything running fine except for one program where the ActiveX dll calls another 3rd party non-activeX dll. At that...

How to redirect WebBrowser control of another Application

I have Application, and i cann't modify it. This Application contain IEControl (WebBrowser control), which display some URLs and open some txt files. How can I get IWebBrowser2 and redirect this control to specified URL? For example i need redirect this control to http://stackoverflow.com every time control trying to open txt file? ...

Building an OCX with VS.NET?

What happened to OCX's? Are they no longer possible to create with the latest tools? I need to create an ActiveX control that I can place in Word, PowerPoint and Excel documents. If I use VS.NET, I can only create a UserControl DLL with COM Interop, but I don't think I can add that using the "More Controls" toolbox of PowerPoint's Devel...

MFC and Active Document Server - how draw document in container window

I look on the one example source code. This example implement Active Document Server (SDI Window, exe-application). When i trying insert this document in any container (such as MW WORD, or IE) , comtainer open additional window and place documant in it. I want draw document inside container window. How i can make it? Probably should i re...

Auto Install activeX

I'm a web developer and my current task is to build an ActiveX component. It's the first time I have to work with ActiveX and I managed to make an working example. However I cannot make the ActiveX install from a browser. When installing it using visual studio 2008 and running the web page all works as expected, when I don't have it i...

How to extract the picture in the img element in a webcontrol host ?

I would like to extract a bitmap from an html page. I expected to find a IStream, IPersistStream or IPersistStreamInit from the IHTMLImgElement I got in the web page. However I can't found any of those. I could read the picture from the cache but this is somewhat unreliable and I would like to avoid reading from the filesystem. Is ther...

C# COM DLL - do I use REGASM, or REGSVR32?

I am building a C# ActiveX DLL... do I use REGASM or REGSVR32 to register it? How do I register the 64-bit interface vs the 32-bit interface? ...

Get Client certificate with activeX

Hello all, I'm struggling to put together a solution that allows security through smartcards. My clients will have a card reader and a card to identify them in the system(Web Application). I need to setup an activeX control that will read the card, extract the information I need and send it to the web server. It's my first time worki...

Not getting all windows messages in MFC ActiveX Composite Control

Hi, I have a composite control with a declaration like this: class ATL_NO_VTABLE CFooCtrl : public CComObjectRootEx<CComSingleThreadModel>, public IDispatchImpl<CFooCtrl, &IID_IFooCtrl, &LIBID_FooLib>, public CComCompositeControl<CFooCtrl>, public IPersistStreamIni...

How to customize date format when creating excel cells through javascript (activexobject)?

Hi all, I'm trying to convert an HTML table to Excel in Javascript using new ActiveXObject("Excel.application"). Bascially I loop through table cells and insert the value to the corresponding cell in excel: //for each table cell oSheet.Cells(x,y).value = cell.innerText; The problem is that when the cell is in date format of 'dd-mm-yy...

Receiving automatic notification from SQL Server when a table is non-empty

I would like to use an SQL Server table as an action queue. So whenever the table is non-empty, I'd like some sort of notification to my VDF application, in order to avoid constantly polling the database. VDF relies on using stdcall, the standard calling convention for the Win 32 API, or COM/ActiveX. Another solution that could work for ...

What has made Adobe Flex more “acceptable” than its predecessors?

I have been building enterprise software for the last 10 years. In this time we have seen enterprise applications move from client server to thin clients. We have also seen the move to hosted solutions, albeit under a few names (asp, SaaS, cloud computing). With all these changes the impetuous has been mainly from driven from the IT d...

How can I determine the connection method of a Crystal XI report at runtime, before logging in?

In my (Win32) application, I am displaying Crystal Reports. I set the login information at runtime. However, Crystal kindly decided to refer to the database name by several different names, depending on how the report connects. For instance, if the report connects through an ODBC connection, then it is called "Data Source", but if it ...

How to disable "ActiveX Control May Be Unsafe" popup

In an HTML file on My Computer, I'm trying to use the Scripting.FileSystemObject in a script. How can I disable the popup saying "Any ActiveX control on this page may be unsafe for scripting"? The "Internet Options" Security pane allows one to set "Initialize and script ActiveX controls not marked as safe for scripting" to Enabled for v...