Questions tagged [activexobject]

ActiveXObject is the key/initial function to enable and reference an "Automation object" in a Microsoft programming environment or the Internet Explorer browser. It is used when the object should be accessed entirely in script with no visual components. See also the activeX tag.

See .
Strictly speaking, ActiveXObject is just the key/initial function to enable and reference an "Automation object" in a Microsoft-only, programming environment. Automation Objects are objects referred to entirely in code with generally no UI design component. For example, in Internet Explorer this is used to access an activex object without inserting it into the page DOM.

Some also seem to apply this term to the system-interface objects referenced by ActiveXObject().

ActiveXObject and activeX is a Microsoft proprietary technology that works only in Microsoft programming environments or on Internet Explorer.

References:

438 questions
25
votes
4 answers

ActiveXObject in Firefox or Chrome (not IE!)

I am trying to create an ActiveXObject (to use FileSystemObject) but it's only supported in IE. Is there a way I can make it work in Chrome or Firefox? I need to read all the files in a specific given folder, and list those. Well, is there another…
Tjekkles
  • 5,352
  • 8
  • 36
  • 53
20
votes
1 answer

FormData in IE8/9

i have implemented this script for uploading files with ajax, it works perfect in other browsers except for explorer, i noticed that formData is not supported by IE9 and less, are there any alternatives for formData in IE, and i want use clean…
Lappies
  • 903
  • 2
  • 11
  • 29
12
votes
1 answer

Can I compile VBA on workbook open?

I am trying to find a way of compiling the code in VBA on workbook open. I can do this manually by opening the VBA environment, going into Debug and "Compile VBAProject" but was wondering if there is a way to do this through the code every time the…
Examorph
  • 143
  • 1
  • 1
  • 7
12
votes
1 answer

Excel ActiveX Listbox not enabled on file open

I am trying to figure out a bizarre situation. I have a workbook with many sheets. On one sheet, I have one ActiveX listbox (CTOverview.Listbox1). On a second sheet, I have a total of three listboxes (CTSelected.Listbox1 thru Listbox3). I am…
user2296377
  • 185
  • 6
  • 12
11
votes
1 answer

IE9, Automation server can't create object error while using CertEnroll.dll

In my web page, a JS block like this: var classFactory = new ActiveXObject("X509Enrollment.CX509EnrollmentWebClassFactory"); // Other initialize CertEnroll Objects It works fine in windows7(32bit or 64bit) with IE8(32bit), as long as I change the…
9
votes
2 answers

Create COM/ActiveXObject in C#, use from JScript, with simple event

I'd like to create a COM object in C#, and use it via IDispatch from JScript. That part is pretty simple. I also want to implement simple callbacks on the COM object, similar to the event exposed by the XmlHttpRequest object that is usable in a…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
7
votes
1 answer

Freeing OleVariant after using CreateOleObject

Here is a simple code: procedure Test; var V: OleVariant; begin V := CreateOleObject('ADOX.Catalog'); try // do something with V... finally V := Unassigned; // do we need this? end; end; Do we need to use the V := Unassigned code…
kobik
  • 21,001
  • 4
  • 61
  • 121
7
votes
4 answers

Corrupted ActiveX control? "Can't exit design mode because Control 'DTPicker1" can not be created"

I am developing an Excel VBA application on my desktop machine. I have a DatePicker ActiveX control on my spreadsheet. It was working fine. Then, while on travel, I was working on the application on a laptop. When I returned, I moved the file…
BillD
  • 147
  • 4
  • 4
  • 11
7
votes
3 answers

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…
winsql
  • 731
  • 1
  • 8
  • 17
6
votes
2 answers

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…
Puru
  • 8,913
  • 26
  • 70
  • 91
6
votes
3 answers

Excel 2010 ActiveX Controls No Longer Working After Windows Updates

So at work I ran into this issue after I installed the most recent Windows 7 updates (including Microsoft Office 2010 updates) - the date up the update was today (Dec 12, 2014). After the update, I opened my macro enabled workbook in Excel 2010…
Brady
  • 85
  • 1
  • 2
  • 8
5
votes
1 answer

Searching and manipulating Excel data using JavaScript

I have a HTML web form with 5 text inputs and a button calling a JavaScript function. The function as it stands, will open an existing Excel file, find the last populated row, insert a new row below it and put the form values in, one value to each…
Longman
  • 143
  • 1
  • 9
5
votes
0 answers

equivalent of ActiveXObject in Fifrefox & Chrome to connect to MySQL DB

To establish a connection to MySQL db using javascript , it is enough to do the following : var conn = new ActiveXObject ("ADODB.Connection"); conn.Open("Driver={MySQL ODBC 5.1…
Abdennour TOUMI
  • 87,526
  • 38
  • 249
  • 254
5
votes
2 answers

What subject to use for SetClientCertificate?

I'm trying to send a request with: ActiveXObject("WinHttp.WinHttpRequest.5.1") however this requires a client certificate to do so (which we have been provided). Having tested in PHP cURL I can do so with: curl_setopt($SOAP,…
Gavin
  • 2,214
  • 2
  • 18
  • 26
4
votes
0 answers

What is the difference between creating a COM instance through CreateObject versus ActiveXObject?

This has been touched on here in the second answer but I don't see how it answers the question (nor does the link provided). What can ActiveXObject do that CreateObject cannot, and vice-versa?
JohnZaj
  • 3,080
  • 5
  • 37
  • 51
1
2 3
29 30