"Load Xml File in Device Application"-Web Exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wingsganesh
    New Member
    • Nov 2007
    • 16

    "Load Xml File in Device Application"-Web Exception

    Hi guys,


    I know how load XMl file in Windows application.But comparing windows application , device application have some special feature. When i use the same code in device application i have bug called"Web Exception"

    Any body can help


    My code is:


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

    Dim xmlDoc As New XmlDocument

    xmlDoc.Load(str Path)

    TextBox1.Text = xmlDoc.InnerTex t
  • wingsganesh
    New Member
    • Nov 2007
    • 16

    #2
    i got result ............... ..

    http://msdn2.microsoft .com/en-us/library/bb630224.aspx

    now this is my coding......... .

    Dim strPath As String = "\Storage\M y Documents\comp. xml"
    Dim xmlDoc As New XmlDocument
    xmlDoc.Load(str Path)
    txtName.Text = xmlDoc.InnerTex t

    Comment

    Working...