"Web Exception"-Reading data from XML

Last post 12-04-2007 12:39 by neil. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-02-2007 22:06

    "Web Exception"-Reading data from XML

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim strPath As String = "http://localhost/iw/Document/pathXml/pathXml/comp.xml"

    Dim xmlDoc As New XmlDocument

    xmlDoc.Load(strPath)

    txtName.Text = xmlDoc.InnerText

    End Sub



    I always check this coding in widows application, it was ran successfully , When using device application I have error "WebException".



    I also check , Computer name and Ip address for replacing local host, But i have the same error,

    If u have any idea ,help me



    Thanks lot,





    ganesh.s
  • 12-04-2007 12:39 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,153

    Re: "Web Exception"-Reading data from XML

    Can you load the XML file in Pocket Internet Explorer on the device?

    Neil Cowburn
    Principal Partner
    OpenNETCF Consulting, LLC

    This posting is provided "AS IS" with no warranties, and confers no rights.

Page 1 of 1 (2 items)