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...
i need to invoke QTP from a javascript without using ActiveXObject. can anybody guide me how to proceed with this?
Thanks,
Ramya.
...
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. ...
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) {
...
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...
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?
...
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...
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...
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...
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...
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...
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 "...
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...
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...
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...
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...
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
{
...
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...
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
...
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.
...