borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Passing Parameter To Next Form)Next Topic (Auto Detection of external device) New Topic New Poll Post Reply
AndreaVB Forum : Pocket PC : Receiving from XML
Poster Message
Winder
Level: Protégé

Registered: 20-04-2006
Posts: 7

icon Receiving from XML

i receive somethign like <home><status>31</status></home>

how do i get the value of status ?

            Try
                reader = New XmlTextReader(New StringReader(returndata))
                reader.MoveToContent()
                reader.Read()
            Catch ex As Exception

            End Try

                Try
                    doc = New XmlDocument
                    doc.LoadXml(returndata)
                    MsgBox(returndata)
                Catch ex As Exception
                    MsgBox("Error sending XML")
                End Try

I have done this code, and use the msgbox to display the returndata.

Thank you

[Edited by Winder on 25-04-2006 at 12:06 PM GMT]

25-04-2006 at 04:06 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Pocket PC : Receiving from XML
Previous Topic (Passing Parameter To Next Form)Next Topic (Auto Detection of external device) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder