I have searched all over the place trying to find a answer to my question.
What I need to do is be able to WRITE to an XML file on the internet. I have tried doing this with a dataset, but I keep getting an error saying "URI formats are not supported"
I have tried numerous different ways on setting the URI to something else...streams...formats...but none of seem to work. Here is what I am trying to do, but I just can't seem to brigde the gap:
VB Code:
Dim objDataSet As New System.Data.DataSet() 'Load the XML file in the data set objDataSet.ReadXml("http://www.someplace.com/file.xml") Dim v(1) As String v(0) = userid v(1) = Date.Today 'Add the data to the data set objDataSet.Tables(0).Rows.Add(v) 'Write to updated data back to the XMl file objDataSet.WriteXml("http://www.someplace.com/file.xml")
Also, do not bother telling me to create a web service because we do not have a server for it to run on. I bascially need to be able to have people download a .exe file and run it (no install -machine restrictions!)
Thanks
Ryan







Reply With Quote