Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old May 25th, 2000, 08:17 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
ActiveXobject(msxml) problem

<i><b>Originally posted by : kaustubh (kaustubhdatar@yahoo.com)</b></i><br />I am using the javascript code in one of my programs:-<br /><br />var xmlstring;<br />xmlstring = new ActiveXObject("msxml");<br /><br />I get the following error when i view the program in IE 5.0:-<br /><br />"Object doesn't support this propoerty or method"<br /><br />Can anyone suggest me an alternative or any corrections?<br />

Reply With Quote
  #2  
Old June 13th, 2000, 08:34 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Juggy (juggy@gmx.net)</b></i><br />This is the code you have to use<br /><br /><br /><%@LANGUAGE=JScript %><br /><%<br /><br /> var srf="inhalt.xml";<br /> var srx="inhalt.xsl";<br /><br /> function reportParseError(error) {<br /> var s="";<br /> for (var i=1; i<error.linepos; i++) {s += " ";}<br /> r = "XML Error loading " + error.url + "<p><b>"+ error.reason + "</b></p>";<br /> if (error.line > 0)<br /> r += "<XMP> at line " + error.line + ", character " + error.linepos + "
" + error.srcText + "
"+ s + "^"+"</XMP>";<br /> return r;<br /> }<br /><br /> var sourceFile=Server.MapPath(srf);<br /> var styleFile=Server.MapPath(srx);<br /> <br /> var source=Server.CreateObject("Microsoft.XMLDOM");<br /> source.load(sourceFile);<br /> <br /> var style=Server.CreateObject("Microsoft.XMLDOM");<br /> style.load(styleFile);<br /><br /> if (source.parseError.errorCode != 0)<br /> result = reportParseError (source.parseError);<br /> else {<br /> if (style.parseError.errorCode != 0)<br /> result = reportParseError (style.parseError);<br /> else {<br /> try {<br /> result = source.transformNode(style);<br /> }<br /> catch (exception) {<br /> result = reportRuntimeError(exception);<br /> }<br /> }<br /> }<br /> Response.Write(result);<br />%><br /><br />Regards,<br /><br />Juggy<br /><br /><br />------------<br />kaustubh at 5/25/2000 6:17:47 AM<br /><br />I am using the javascript code in one of my programs:-<br /><br />var xmlstring;<br />xmlstring = new ActiveXObject("msxml");<br /><br />I get the following error when i view the program in IE 5.0:-<br /><br />"Object doesn't support this propoerty or method"<br /><br />Can anyone suggest me an alternative or any corrections?<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > ActiveXobject(msxml) problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway