activexobject

Convert <object /> declaration to javascript ActiveXObject

I have the following declaration in my code: <object id="myObject" name="myObject" data="data:application/x-oleobject;base64,ab9qcMENN0WE41oij7hs8764yu+YEwAA2BMABB==" classid="clsid:83A04F76-85DF-4f36-A94E-BA3465007CDA" viewastext codebase="someAssembly.dll#version=UNKNOWN"> </object> I want to create an instance of this...

How to open QTP from JavaScript without using ActiveXObject?

i need to invoke QTP from a javascript without using ActiveXObject. can anybody guide me how to proceed with this? Thanks, Ramya. ...

Tutorials for creating an ActiveX Control in Code::Blocks

Hi there. I need to write an ActiveX control and have never written one before. I'd appreciate being pointed to some useful tutorials. I'm also wanting to implement it under Code::Blocks. Has anyone done this before? how easy is it? Note: I've found a number of tutorials, but they are either for visual basic, or visual c++ based. ...

XML ActiveXObject IE. Object doesn't support this action

I am trying to work with xml and javascript. In firefox it works great using XMLHttpRequest but in IE (6-8) I am getting the error: Object doesn't support this action I am using the following function: function createRequestObject(){ var request; try { request = new XMLHttpRequest(); } catch (trymicrosoft) { ...

ASP.NET Cannot create ActiveX component

I have a ASP.NET application that allows users to export their staff's absences each month to Microsoft Excel. The application is currently generating the following exception Exception: Cannot create ActiveX component. with the following stack trace System.Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interacti...

how to use javascript to validate xml against schema in firefox?

I can do this in IE using ActiveXObject, however mozilla doesn't support ActiveXObject. Is there any way I can use JS to validate an XML against an XSD schema in firefox? ...

Quicktime Javascript interface within Iframe throws an errors.

I'm using Apple's provided AC_QuickTime.js to generate the object tag for embedding a quicktime object. I then assign that to a div's innerHTML property. This is done in the global scope as the page loads due to errors encountered on doing it in the window load event. Finally in the window load event I call play on the object (acquired v...

New ActiveXObject('Word.Application') creates new winword.exe process when IE security does not allow object to be created

We are using MS Word as a spell checker for a few fields on a private company web site, and when IE security settings are correct it works well. (Zone for the site set to Trusted, and trusted zone modified to allow control to run without prompting.) The script we are using creates a word object and closes it afterward. While the objec...

Javascript Msxml2.XMLHTTP terminal server access denied

Hi, var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); xmlHttpRequest.open("POST", "http://vat/_vti_bin/lists.asmx", false); How can I let this script work on a Terminal server? When I open it on my local pc, it works, but when I do the same thing in a browser on a Terminal server, I get Access Denied. I tried using ServerXMLH...

IE 7 activex object (or xmlhttprequest?) open method using POST takes 20-30 seconds to return

i have a problem that only shows itself in IE7. its a simple ajax call. i got my object (accounting for the browser) so in 7 i SHOULD have an ActiveXObject. when i call open with POST, it takes 20-30 seconds to return. i am using a TON of GET calls to populate information and all of these work (finally, after some bug fixing), but i am N...

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...

Accessing ActiveX method from asp.net (C#)

I have written an activex user control to get an image from a user's clipboard. I have a method to get the byte stream for this image. I want to embed this into a asp.net webforms page (C#). I am not sure how to call this method from the "code behind" portion of the asp.net page by using c#. I am not able to access the object from the "...

ActiveX control not showing up properly

I have an activex control which I have written using C#. It is essentially a user control which is being compiled into a dll. When I debug the program with visual studio the forms and controls appear normal. When I embed the control in a webpage using HTML the control functions properly but it does not render correctly. The fonts and pro...

How do I create a deployable ActiveX control?

I have written a simple ActiveX control using Visual Studio 2010. I have registered this control on my development machine using regasm, and I can invoke the control in IE using Javascript's new ActiveXObject("...") functionality. However, I now need to prepare my ActiveX control for deployment to the customer, and this is where I need...

Why does my .NET ActiveX control fail to register in Internet Explorer?

I am writing an ActiveX control to run in Internet Explorer. I am using C# and the System.Runtime.InteropServices namespace. When I register the control manually on my development machine using regasm, the control works and I can invoke methods on it using Javascript's new ActiveXObject(..) functionality. However, for production I wan...

PowerPoint printing using activex control

Hi People, We have written an ActiveX control using C# to use it in Microsoft PowerPoint. The control has following Title: 'Test Viewer'. When I place the control in PowerPoint in edit mode, I see the title in control. But when I print the slide, it show me a big "X" in the print output. Print preview looks proper. I tried using 'Prin...

Freeing JavaScript's ActiveXObject()?

I'm calling a C# COM component using javascript: keystore = new ActiveXObject("RBCrypto.KeyStore");. I've noticed this instance stays around until I exit the browser. Is there anyway to "release" that object when the user leaves the page? Currently i'm using: window.onunload=function() //when a user leaves the page close the keystore { ...

VB: get compiled DLL's calling application info; COM security

Through COM, one can potentially gain absolute control over a target system. For example: using javascript's ActiveXObject object in IE, one can create certain objects which were designed to have direct access or interaction with system properties and files. One would think common sense dictates users disable ActiveX features in IE imm...

HRESULT: 0x80040154

I create win application by vs2008 and use dsoframer.ocx to view word document. this application work ok in my machine,but when i created setup file and installed it in another pc windows xp sp3 i recieved error:HRESULT: 0x80040154 ...

Ajax call: What is the difference between new ActiveXObject("Msxml2.XMLHTTP") and new ActiveXObject("Microsoft.XMLHTTP") ?

I hope both the object invocations are referring to the ActiveXObject. But why are we passing two different parameters to work in IE. 1. Msxml2.XMLHTTP and 2. Microsoft.XMLHTTP Are they both same ? Or Are they browser dependent(IE7 and IE8) ? I used both. I did not get any exception. Both are looking same for me. I am using IE 8. ...