CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Trying to get data from xml file

    I am trying to get the data from the following xml file: I want to read back the main status code. 3rd line down. If my test fails it will read -1 if it passes it will ready 0. Thanks in advanced to anyone that replies.

    - <display>
    <runcmd>glxgears > glxgears.out &</runcmd>
    <status>0</status>
    - <tests>
    - <test name="displayimage">
    <description>displays rotating image</description>
    <status>0</status>
    <errormessage />
    - <data>
    - <sample>
    <FramesPerSecond>3608 frames in 5.0 seconds = 721.593 FPS</FramesPerSecond>
    </sample>
    </data>
    </test>
    </tests>
    </display>

    Steve

  2. #2
    Join Date
    Apr 2010
    Posts
    2

    Re: Trying to get data from xml file

    This is using Visual Studios 2008

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Trying to get data from xml file

    Download the samples from here
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured