473,795 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which one to use....

Few days back I posted this question.

Can anyone help me on this question.

var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");

If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE 5+
Which of the above statement I should use?
Thanks,
Jonathan Smith


Nov 19 '05 #1
15 1343
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...
Few days back I posted this question.

Can anyone help me on this question.

var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");

If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE 5+
Which of the above statement I should use?
Thanks,
Jonathan Smith

Nov 19 '05 #2
Msxml2.XMLHTTP = Microsoft XML 3.0 library

The first version (Microsoft.XMLH TTP) was released
with the first version of Microsoft’s XML Parser and
shipped with IE v4, in September 1997.

See
http://msdn.microsoft.com/library/de...mlwhatsnew.asp
for the differences between the versions.

I'd use the latest version.

Juan T. Llibre
===========
"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Few days back I posted this question.

Can anyone help me on this question.

var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");

If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE 5+
Which of the above statement I should use?
Thanks,
Jonathan Smith

Nov 19 '05 #3
I am talking about client side script(java script) only.
So, which one I should use?
Thanks,
Jonathan

"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP15.phx.gbl...
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...
Few days back I posted this question.

Can anyone help me on this question.

var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");

If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE 5+
Which of the above statement I should use?
Thanks,
Jonathan Smith


Nov 19 '05 #4
You should use an <OBJECT> tag in the HTML that is sent to the client.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:##******** ******@TK2MSFTN GP12.phx.gbl...
I am talking about client side script(java script) only.
So, which one I should use?
Thanks,
Jonathan

"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP15.phx.gbl...
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...
Few days back I posted this question.

Can anyone help me on this question.

var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");

If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE 5+ Which of the above statement I should use?
Thanks,
Jonathan Smith



Nov 19 '05 #5
Thanks,
Sorry, I am not clear.
Which below one I should use.
var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");
Jonathan
"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OJ******** ******@TK2MSFTN GP09.phx.gbl...
You should use an <OBJECT> tag in the HTML that is sent to the client.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:##******** ******@TK2MSFTN GP12.phx.gbl...
I am talking about client side script(java script) only.
So, which one I should use?
Thanks,
Jonathan

"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP15.phx.gbl...
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...
> Few days back I posted this question.
>
> Can anyone help me on this question.
>
> var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
> var myObj = new ActiveXObject(" Microsoft.XMLHT TP");
>
> If my development environment is ASP.Net/VB.Net/.NetFramework
1.1/IE 5+ > Which of the above statement I should use?
> Thanks,
> Jonathan Smith
>
>
>
>



Nov 19 '05 #6
re:
So, which one I should use?
If you want to code to 1997 standards,
use "Microsoft.XMLH TTP"

If you want to code to Microsoft XML 3.0 standards,
use "Msxml2.XMLHTTP "

If you want to code to Microsoft XML 4.0 standards,
use "MSXML2.DOMDocu ment.4.0"

If you want to code to Microsoft XML 5.0 standards,
use "Msxml2.DOMDocu ment.5.0"

See
http://msdn.microsoft.com/library/de...ch_xmlprod.asp
http://msdn.microsoft.com/library/de...l/xmmscXML.asp
http://msdn.microsoft.com/library/de...mloverview.asp
http://msdn.microsoft.com/library/de...llregister.asp

Juan T. Llibre
===========
"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...I am talking about client side script(java script) only.
So, which one I should use?
Thanks,
Jonathan

"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP15.phx.gbl...
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...
> Few days back I posted this question.
>
> Can anyone help me on this question.
>
> var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
> var myObj = new ActiveXObject(" Microsoft.XMLHT TP");
>
> If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE
> 5+
> Which of the above statement I should use?
> Thanks,
> Jonathan Smith
>
>
>
>



Nov 19 '05 #7
Really great reply.
Since this will be clint side code, I have to say all my clients will be
using atleast IE5+.
So the next question will be IE5+ confirms to which of the following
versions?
1997 standards or Microsoft XML X.0 standards.
Thanks a lot for all the experts involved in this discussion.
Jonathan.

"Juan T. Llibre [MVP]" <no***********@ nowhere.com> wrote in message
news:#p******** ******@tk2msftn gp13.phx.gbl...
re:
So, which one I should use?
If you want to code to 1997 standards,
use "Microsoft.XMLH TTP"

If you want to code to Microsoft XML 3.0 standards,
use "Msxml2.XMLHTTP "

If you want to code to Microsoft XML 4.0 standards,
use "MSXML2.DOMDocu ment.4.0"

If you want to code to Microsoft XML 5.0 standards,
use "Msxml2.DOMDocu ment.5.0"

See

http://msdn.microsoft.com/library/de...us/dnanchor/ht
ml/anch_xmlprod.as p http://msdn.microsoft.com/library/de...us/xmlsdk/html
/xmmscXML.asp http://msdn.microsoft.com/library/de...us/xmlsdk/html
/xmmscxmlovervie w.asp http://msdn.microsoft.com/library/de...us/xmlsdk/html
/xmmscxmlinstall register.asp


Juan T. Llibre
===========
"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
I am talking about client side script(java script) only.
So, which one I should use?
Thanks,
Jonathan

"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP15.phx.gbl...
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...
> Few days back I posted this question.
>
> Can anyone help me on this question.
>
> var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
> var myObj = new ActiveXObject(" Microsoft.XMLHT TP");
>
> If my development environment is ASP.Net/VB.Net/.NetFramework 1.1/IE
> 5+
> Which of the above statement I should use?
> Thanks,
> Jonathan Smith
>
>
>
>



Nov 19 '05 #8
The Microsoft.XmlHt tp COM object
ships with Internet Explorer 5.0 and later

Please see specific requirements at
http://msdn.microsoft.com/library/de...llregister.asp

Juan T. Llibre
===========
"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:uT******** ******@tk2msftn gp13.phx.gbl...
Really great reply.
Since this will be clint side code, I have to say all my clients will be
using atleast IE5+.
So the next question will be IE5+ confirms to which of the following
versions?
1997 standards or Microsoft XML X.0 standards.
Thanks a lot for all the experts involved in this discussion.
Jonathan.

"Juan T. Llibre [MVP]" <no***********@ nowhere.com> wrote in message
news:#p******** ******@tk2msftn gp13.phx.gbl...
re:
> So, which one I should use?


If you want to code to 1997 standards,
use "Microsoft.XMLH TTP"

If you want to code to Microsoft XML 3.0 standards,
use "Msxml2.XMLHTTP "

If you want to code to Microsoft XML 4.0 standards,
use "MSXML2.DOMDocu ment.4.0"

If you want to code to Microsoft XML 5.0 standards,
use "Msxml2.DOMDocu ment.5.0"

See

http://msdn.microsoft.com/library/de...us/dnanchor/ht
ml/anch_xmlprod.as p

http://msdn.microsoft.com/library/de...us/xmlsdk/html
/xmmscXML.asp

http://msdn.microsoft.com/library/de...us/xmlsdk/html
/xmmscxmlovervie w.asp

http://msdn.microsoft.com/library/de...us/xmlsdk/html
/xmmscxmlinstall register.asp



Juan T. Llibre
===========
"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
>I am talking about client side script(java script) only.
> So, which one I should use?
> Thanks,
> Jonathan
>
>
>
> "Kevin Spencer" <ks******@takem pis.com> wrote in message
> news:OX******** ******@TK2MSFTN GP15.phx.gbl...
>> Neither. ActiveX controls are client-side.
>>
>> --
>> HTH,
>> Kevin Spencer
>> .Net Developer
>> Microsoft MVP
>> Neither a follower
>> nor a lender be.
>>
>> "Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
>> news:#U******** ******@TK2MSFTN GP11.phx.gbl...
>> > Few days back I posted this question.
>> >
>> > Can anyone help me on this question.
>> >
>> > var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
>> > var myObj = new ActiveXObject(" Microsoft.XMLHT TP");
>> >
>> > If my development environment is ASP.Net/VB.Net/.NetFramework
>> > 1.1/IE
>> > 5+
>> > Which of the above statement I should use?
>> > Thanks,
>> > Jonathan Smith
>> >
>> >
>> >
>> >
>>
>>
>
>



Nov 19 '05 #9
Hello Kevin,

Why would he use <OBJECT> to create an ActiveX object in javascript?

Jonathan,

The answer is to use MSXML2.XMLHTTP.

--
Matt Berther
http://www.mattberther.com
You should use an <OBJECT> tag in the HTML that is sent to the client.

"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:##******** ******@TK2MSFTN GP12.phx.gbl...
I am talking about client side script(java script) only.
So, which one I should use?
Thanks,
Jonathan
"Kevin Spencer" <ks******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP15.phx.gbl...
Neither. ActiveX controls are client-side.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
"Jonathan" <Jonathan_ Sm******@hotmai l.com> wrote in message
news:#U******** ******@TK2MSFTN GP11.phx.gbl...

Few days back I posted this question.

Can anyone help me on this question.

var myObj = new ActiveXObject(" Msxml2.XMLHTTP" );
var myObj = new ActiveXObject(" Microsoft.XMLHT TP");
If my development environment is ASP.Net/VB.Net/.NetFramework
1.1/IE
5+
Which of the above statement I should use?
Thanks,
Jonathan Smith

Nov 19 '05 #10

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

Similar topics

2
2678
by: Raymond H. | last post by:
Hello, I create a vb4 project which can also naviger on Internet via the WebBrowser control which I put on my form. My question is: if this program is installed on a station having already Internet Explorer in it then will it cause an error if version Internet Explorer is the same one as WebBrowser which is in my project? Is it this control which Internet Explorer uses? If that can cause errors of version then, instead, can I install this...
17
6154
by: John Bentley | last post by:
John Bentley: INTRO The phrase "decimal number" within a programming context is ambiguous. It could refer to the decimal datatype or the related but separate concept of a generic decimal number. "Decimal Number" sometimes serves to distinguish Base 10 numbers, eg "15", from Base 2 numbers, Eg "1111". At other times "Decimal Number" serves to differentiate a number from an integer. For the rest of this post I shall only use either...
3
4816
by: Edward | last post by:
ASP.NET / VB.NET SQL Server 7.0 Our client has insisted that we change our established practice of building SQL in-line and move it all to SPROCs. Not a problem for 80% of the app. However, we have a number of Search/Filter forms that contain a number of controls to allow more or less focused search criteria to be built up. I have a class that does this quite nicely, examining all controls for
133
13277
by: Jane Withnolastname | last post by:
I have a web page that uses an unordered list (<UL>) and the LH (list header) tag. I know LH is a valid tag because it is clearly defined by the W3C here: http://www.w3.org/MarkUp/html3/bulletlists.html The problem is, when I try to validate the page at W3C, it tells me: " element "LH" undefined " My page is 4.01 Transitional, using charset windows-1252. Any ideas why this won't validate?
29
3284
by: guru.slt | last post by:
"the c++ standard library, tutorial and reference" book, it says: ++i is faster than i++. the latter involves a temporary object because it must return the old value/object of i. for this reason, it's generally better to use ++i. but, I think, even ++i still has to return a temporary object that is with new value inside. So, both i++ and ++i have to return a temporary object. Then, what's the speed difference between i++ and ++i.
17
2562
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this with a link to old information that suggests use of "navigator": http://developer.irt.org/script/43.htm
65
12625
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second method was a piece of C code which turned out to be incorrect and incomplete but by modifieing it would still be usuable. The first method was this piece of text:
17
3981
by: clintonG | last post by:
I'm using an .aspx tool I found at but as nice as the interface is I think I need to consider using others. Some can generate C# I understand. Your preferences please... <%= Clinton Gallagher http://forta.com/books/0672325667/
4
9700
by: mflll | last post by:
I am looking into the different techniques of handling arrays of edit boxes in Java Script. The first program below works fine. However, are there better ways of doing this, where the person writing the JavaScript doesn't have to pass the index in the "onChange" event name. I thought that one might be able to use "this.value" or compare this as
2
2231
by: rn5a | last post by:
A Form has a select list which is populated from a MS-Access database table. The DB table from where the select list is populated has 2 columns - CountryID & CountryName. When the Form is posted, the option selected in the select list is inserted in another DB table wherein the column in which the value of the selected option will be populated accepts only integers. Actually there are 7-8 select lists & the values of all the selected...
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9522
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10448
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9046
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7544
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6784
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2922
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.