S
Sivaprasad
Hello,
I am a beginner in Pocket PC development.
I am trying to load an xml into a treeview control of pocket pc.
Its throwing an exception "Directory not found"
But the same piece of code is working in .NET regular environment not Pocket
pc.
For pocket PC is there any other library i should import to refer the xml
object?.
Below is the code snippet i am using.
Can any one help me?
Any help is highly appreciated.
Thanks
Siva
'**************************Code Snippet **********************
Imports System.Xml
Private Sub cmdLoadXML_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdLoadXML.Click
Dim xmldocTest As New XmlDocument
Try
xmldocTest.Load("C:\My DotNet\abc.xml")
(The exception is triggered on this line)
DisplayXmlNode(xmldocTest, tvwLoadXML.Nodes)
' Expand the root node.
tvwLoadXML.Nodes(0).Expand()
Catch GetError As System.Exception
MessageBox.Show(GetError.Message)
End Try
End Sub
'**************************Code Snippet Ends**********************
I am a beginner in Pocket PC development.
I am trying to load an xml into a treeview control of pocket pc.
Its throwing an exception "Directory not found"
But the same piece of code is working in .NET regular environment not Pocket
pc.
For pocket PC is there any other library i should import to refer the xml
object?.
Below is the code snippet i am using.
Can any one help me?
Any help is highly appreciated.
Thanks
Siva
'**************************Code Snippet **********************
Imports System.Xml
Private Sub cmdLoadXML_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdLoadXML.Click
Dim xmldocTest As New XmlDocument
Try
xmldocTest.Load("C:\My DotNet\abc.xml")
(The exception is triggered on this line)
DisplayXmlNode(xmldocTest, tvwLoadXML.Nodes)
' Expand the root node.
tvwLoadXML.Nodes(0).Expand()
Catch GetError As System.Exception
MessageBox.Show(GetError.Message)
End Try
End Sub
'**************************Code Snippet Ends**********************