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