activex

Set working directory in javascript

Does anyone know how to set the working directory in JavaScript before? Code I use for launching an application is this: // Create an object script oL = new ActiveXObject("WScript.Shell"); oFile = '"C:/Application.exe"'; oL.run(oFile); ...

Non-administrator account in Vista cannot register ActiveX plug-in (won't let me install .dll)

So I wrote an ActiveX control but I can't install it anywhere when you are not administrator. Does anyone know a work-around for this (that doesn't involve an administrator)? ...

how to disable keyboard for an activex control hosted in a winform ?

I'm working on an application embedding an activex component. This component has several keyboard shortcuts. Some of them are binded to actions which needs to be intercepted by my application before being run. For example, CTRL+S is binded to the "Save" action, and I have to perform some modifications to the document before the activex...

Alternative to ActiveX controls

Hi, I am developing and application service and I want users to be able to query programatically (the service would then return back any data requested). My working plan now is to use ActiveX controls, but i have been told they are out of date. I was wondering what would be some more recent/platform-independent solutions out there? (I d...

Add a ActiveX Control to a JPanel

Hi, Is there any way to add a ActiveX control to a JPanel. ...

Turning windows application to web application via activeX

Hi, I have an existing windows desktop application and I wish to turn it to a web application as fast as possible, without rewriting the application. Is it possible to somehow compile the application as an Active-X application and then I will have all the functionality 'out of the box'? If not, what are the obstacles (apart from securi...

Display Excel 2007 Document in Browser using COM

I want to display and edit MS Excel File from client side using ActiveX COM object. The user would be allowed to edit the file and save it to local PC. Then It can be uploaded to remote server. So, can you give me some example of displaying Word, Excel, Powerpoint etc document in Internet Explorer 8.0 using COM. I could not find such oc...

How to update ActiveX controls within a C# project in Visual Studio 2005

Please explain how to replace the ActiveX controls within a Visual Studio 2005 project (C#) to updated versions. ...

How do I programmatically determine if active x has been disabled, if an active x control has been installed, and if an active x control has been installed but disabled?

I'm using ASP.NET on the server side and javascript on the client side. I'm trying to develop some pages that will help the user troubleshoot and I was wondering if there was a way to programmatically determine the following: 1) if active x has been disabled in Internet Explorer 2) if an active x control has been installed 3) if an acti...

write a com control in c# and use it in MFC

if this possible to write a com control or activex in C# and use it in MFC ? ...

How to use ActiveX/COM from ColdFusion?

Is it possible to use an ActiveX/COM object from ColdFusion? If so, where's the documentation or samples for it? (non ColdFusion programmer, asking on behalf of a ColdFusion programmer) ...

How can my ActiveX control take over Print, Save As, Find, etc. within Internet Explorer?

I have an ActiveX control that displays documents of a given file format within IE, much like Adobe have an ActiveX control that displays PDFs. My control is a full-page control, just like the PDF viewer - it takes over the whole client area of IE, using IE's own EnableFullPage mechanism. I'd like to take control of the various menu an...

Javascript to ActiveX variable type

ActiveX object method has this signature. long DirectIO(long Command, long* pData, BSTR* pString) Int32 DirectIO(Int32, Int32 ByRef, System.String ByRef) I'm attempting to call this method from javascript. I've tried many combinations but always get a "Type mismatch" error. ...

Accessing Local file from a browser?

Hi I want to access a local file of my system from the browser? Is there anyway through which it can be achieved as there are lot of security checks invloved? or any other work arround using ActiveX or Java Applet???? Please help me out.. ...

JavaScript: Problem with a ActiveX-Object and the apply()-Function

Hi, i have an ActiveX Object (Master) and would like to invoke functions dynamically on it. To do this i use the apply() Function. But sadly the InternetExplorer tells me something along the lines of: "This Object doesn't support this Method". Can someone give me a hint what i could do? (To test this you also could use a small flash obj...

When using the Outlook View Control though html (active-x) I need to have buttons for day, week, and month in the calendar view.

I am using the Outlook view control to make a shared public outlook calendar available in HTML. The issue is I need buttons so the user can control the calendar view (day, week, month). Since Microsoft eliminated the "view" param, and I am pointing to a shared calendar and not the ginaric user's calendar, I'm a little stuck. Here is m...

C# equivalent of this C++ code

Hello, Is there any C# equivalent of the code below? HRESULT hr; ActiveXSite* pSite; pSite = CAxWindowlessHost<CMainDlg>::CreateControlSite(L"AgControl.AgControl", NULL, IDC_AGCONTROL1); if ( pSite != NULL ) { // disable right-click! pSite->SetAllowRClick(false); // set moniker URL CCom...

How can I make an ActiveX control written with C# raise events in JavaScript when clicked?

I'm seeing a few questions related to this on SO already, but I think mine is sufficiently different to not be considered a duplicate (if I'm wrong let me know). I have an ActiveX control I've written in C# and while I have it mostly working, I want to raise an event in JavaScript when it's clicked (it displays an image so it's a visual...

javascript: "Object doesn't support this property or method" when ActiveX object called.

I've got simple html on Login.aspx with an ActiveX object: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html> <head><title></title> <script language="javaScript" type="text/javascript"> function getUserInfo() { var userInfo = MyActiveX....

Optional parameters in Active X libraries

I am creating an ActiveX library in Delphi in which a particular object has a property called DevelopmentCount with a single parameter of type date. Internally the property getter calls a similarly named function on a normal Delphi object where the single parameter is optional (this last factor may be irrelevant). When we compile this l...