473,503 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

new ActiveXObject("MSXML2.DOMDocument.4.0") with Safari/Firefox for MAC

I am trying to get some compatible code that will work for Safari and
Firefox for MAC. The following code works great with IE for MAC, IE,
Firfox and Netscape on PC:
xmlDoc = new ActiveXObject("MSXML2.DOMDocument.4.0")

Can someone please give me some compatible code that will allow me to
create this object in Safari and Firefox for MAC? Thank you in advance
for your time and help.

Paul Gorman ><>

Dec 28 '06 #1
1 11317
VK
pa**@gormansolutions.com wrote:
The following code works great with IE for MAC, IE,
Firfox and Netscape on PC:
xmlDoc = new ActiveXObject("MSXML2.DOMDocument.4.0")
Eh? Please don't do like this anymore :-) :-(

IE for MacOS is discontinued for almost two years by now so is out of a
wide public interest. But even before and up to the latest release it
did not support ActiveX in any shall perform form.

ActiveXObject is strictly Windows and strictly Internet Explorer.

Netscape 7.x or higher and Firefox for Windows do have
GeckoActiveXObject but it works only and exclusively for Windows Media
Player (on builds where not locked for security reasons).

So your "works great for X, Y, Z" shall be translated - taking into
account ver.4.0 of MSXML - in this proper way:

"I have tried my code on IE 6 (7?) with all newest updates installed
and it works great. Is there any way to make it work anywhere else?"

Sure, see for instance:
<http://groups.google.com/group/comp.text.xml/browse_frm/thread/70b7322eef704e24>

Dec 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8619
by: K. Wilder | last post by:
I've made an ASP form page that is executed via a Javascript function. There's a javascript function that builds an XML object with the form values. But in some browers it seems to fail on the...
12
4923
by: Stefano | last post by:
Hi all, what is the correct use of the "default" attribute in XML Schema? For example: <xs:element name="myProperty" type="xs:string" default="myDefaultValue"/> What can I do with it? What...
5
3764
by: Brent | last post by:
This AJAX stuff is all new to me. To try it out, I borrowed this code from a website: ======================== var http_request = false; function makeRequest(url) { http_request = false;
1
9749
by: blini | last post by:
This command is giving error. The error returned from the Javascript is: "the server of Automation cannot create object". How I arrange this error?
3
7657
by: ronlym | last post by:
hi, I have some client with IE 6 sp1 that when I run the following line I have an exception : var poster = new activexobject("Microsoft.xmlHttp"|); The web page that call this js line is ssl. Do...
1
6032
by: H | last post by:
Just trying to create a basic xmlhttpobject. However, the following always returns null xmlhttpobj = New ActiveXObject("Microsoft.XMLHTTP") (it is Microsoft. and not Msxml2. I've already...
4
14046
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi there, I want to use javacript in my ASPX page, using ActiveX ( ActiveXObject("Shell.Application"); ) to call external application. How I know if the IExplorer settings for ActiveX is...
5
6389
by: Heofz | last post by:
Hey all, I've been banging my head against a brick wall on this one for the last 12 hours, and the time has come for me to give up and consult the gurus on this one. The below URL contains a...
5
2838
by: Diego Ruiz | last post by:
Hi!! my english is not too good, but i'll try it I have a javascript code: function executeCommands(inputparms) { // Instantiate the Shell object and invoke its execute method. ...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.