hi guys,
I need XML data in my textbox,It was correctly worked in vb.net ,But when i used This coding for Device application, "WebExcepti on" bug was araised,
am also try path name as localhost and IP address. I have same error. This is my coding,
[CODE=vbnet]Private Sub Form1_Load(ByVa l sender As Object, ByVal e As System.EventArg s) Handles MyBase.Load
Dim strPath As String = "http://localhost/iw/Document/pathXml/pathXml/comp.xml"
Dim xmlDoc As New XmlDocument
xmlDoc.Load(str Path)
txtName.Text = xmlDoc.InnerTex t
End Sub [/CODE]
This is my XML data:
<?xml version="1.0" encoding="utf-8" ?>
<name>Info wave </name>
Anybody can help me............. ........
I need XML data in my textbox,It was correctly worked in vb.net ,But when i used This coding for Device application, "WebExcepti on" bug was araised,
am also try path name as localhost and IP address. I have same error. This is my coding,
[CODE=vbnet]Private Sub Form1_Load(ByVa l sender As Object, ByVal e As System.EventArg s) Handles MyBase.Load
Dim strPath As String = "http://localhost/iw/Document/pathXml/pathXml/comp.xml"
Dim xmlDoc As New XmlDocument
xmlDoc.Load(str Path)
txtName.Text = xmlDoc.InnerTex t
End Sub [/CODE]
This is my XML data:
<?xml version="1.0" encoding="utf-8" ?>
<name>Info wave </name>
Anybody can help me............. ........
Comment