Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to parse XML file in VB 6.0

How to parse XML file in VB 6.0

Scheduled Pinned Locked Moved Visual Basic
helpcsharpcomxml
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sushant_Mathur
    wrote on last edited by
    #1

    Hi, I want to parse XML file with MSXML4.0 in VISUAL BASIC 6.0(not vb.net)but problem with my code is it's showing only one error at a time..but i need to show all the parsing error, my code is as below: ----- Dim schemaCache As MSXML2.XMLSchemaCache40 Set schemaCache = New MSXML2.XMLSchemaCache40 schemaCache.Add "", "MySchema.xsd" Dim doc As MSXML2.DOMDocument40 Set doc = New MSXML2.DOMDocument40 Set doc.schemas = schemaCache doc.async = False If Not doc.Load("MyXML.xml") Then MsgBox "Error loading XML document: " & doc.parseError.reason Else MsgBox "File parsed successfully." End If ------------ please help me its urgent,thanks in advance Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups