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. VB.net & XML

VB.net & XML

Scheduled Pinned Locked Moved Visual Basic
helpcsharpxmltutorial
2 Posts 2 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
    Shazz Rock
    wrote on last edited by
    #1

    Hi All... I am trying to load xml file with code mentioned below. Dim XMLDc as XML.XMLDocument XMLDc.Load(file.Path) The problem in above is some file is getting uploaded where as xml file is not. It gives error 'Check the path' where all file is in same folder. Say the path is "D:\Project" there is 3 files 1.xml, 2.xml, 3.xml 1.xml & 3.xml is getting uploaded and 2.xml is not. Generate Error 'Check the path and file should exist' Please explain me the error and how to solve it... Thanx in advance...

    Shazz here to help you...

    G 1 Reply Last reply
    0
    • S Shazz Rock

      Hi All... I am trying to load xml file with code mentioned below. Dim XMLDc as XML.XMLDocument XMLDc.Load(file.Path) The problem in above is some file is getting uploaded where as xml file is not. It gives error 'Check the path' where all file is in same folder. Say the path is "D:\Project" there is 3 files 1.xml, 2.xml, 3.xml 1.xml & 3.xml is getting uploaded and 2.xml is not. Generate Error 'Check the path and file should exist' Please explain me the error and how to solve it... Thanx in advance...

      Shazz here to help you...

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      There is nothing that would cause that error for only one of the files that you described.

      Shazz Rock wrote:

      Say the path is "D:\Project" there is 3 files 1.xml, 2.xml, 3.xml

      Say what the real file names are instead. Also, where do you get the value for file.Path?

      Despite everything, the person most likely to be fooling you next is yourself.

      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