tag:blogger.com,1999:blog-34454975.post116324961649958696..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: Which function to get an XMLHttpRequest object ?Andrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-34454975.post-35033983205981293152006-11-15T08:05:00.000+01:002006-11-15T08:05:00.000+01:00I forget to say that if application is not designe...I forget to say that if application is not designed to be compatible with old browsers You could verify with try catch without problems.<br /><br />Important thing is don't use eval or conditional comments.<br /><br />I've seen your code and it seems to be good but not so good because You used @ccAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-6878874966828525842006-11-14T18:01:00.000+01:002006-11-14T18:01:00.000+01:00I don't like, really, try catch ... I mean not to ...<i>I don't like, really, try catch</i> ... I mean not to get an XMLHttpRequest fake object .Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-82971875234651294812006-11-14T18:00:00.000+01:002006-11-14T18:00:00.000+01:00sure, and if you use try catch you are leaving out...sure, and if you use try catch you are leaving out every people that have an old browser.<br /><br />I don't like, really, try catch ... and I think version 6 without IE6 is a really particular case ...Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-65466923576539044292006-11-14T13:47:00.000+01:002006-11-14T13:47:00.000+01:00"However, You could check IE version (/MSIE 6/i.te..."However, You could check IE version (/MSIE 6/i.test(b)) and use Your favourite version without eval, try catch and without bad conditional comments too."<br /><br />ActiveX control is independent from IE version, you could have installed the 6.0 and use IE 5, (or not have IE at all) ;)<br />so if you look for IE 6 you are leaving out people that have installed the 6.0 but haven't IE6 .kentaromiurahttps://www.blogger.com/profile/01628828429767241919noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-73197584097831820302006-11-14T13:24:00.000+01:002006-11-14T13:24:00.000+01:00Msxml2.XMLHTTP.6.0 is supported by:
Windows 2000 S...Msxml2.XMLHTTP.6.0 is supported by:<br />Windows 2000 Service Pack 4; Windows Server 2003; Windows Server 2003 Service Pack 1; Windows XP Service Pack 1; Windows XP Service Pack 2<br /><br /><br />Msxml2 is supported by every IE ... then I suppose this is the best solution, isn't it ?<br /><br />However, You could check IE version (/MSIE 6/i.test(b)) and use Your favourite version without eval, try catch and without bad conditional comments too.Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-21039722734437430962006-11-14T08:13:00.000+01:002006-11-14T08:13:00.000+01:00look at the page that I linked,
the version indepe...look at the page that I linked,<br />the version independent is a alias to the 3.0 version so<br />"Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP" and "Msxml2.XMLHTTP"<br />are THE SAME object.<br />You may want to use <br />"Msxml2.XMLHTTP.6.0"<br />in different case because it is better.kentaromiurahttps://www.blogger.com/profile/01628828429767241919noreply@blogger.com