Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am facing a problem regarding writing xml file.

My browser is IE9.

I have a vbscript which writes xml file on local machine. But when i try to write an XML file hosted on website with same code by just changing the file path, i am getting error.

here is a snippet of my code

VB
FileName="http://www.samplewebsite.com/Filename.xml"
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.Async = "False"
xmlDoc.Load(FileName)
/*Logic to write xml file*/
xmlDoc.Save FileName


So my question is

Is it possible to write XML file hosted on website using vbscript? if yes, how?
Posted
Updated 2-Dec-13 21:19pm
v2
Comments
bbirajdar 3-Dec-13 1:45am    
No....

1 solution

I am getting error "The parameter is incorrect" at "xmlDoc.Save FileName"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900