CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Load xml

  1. #1
    Join Date
    Jun 2005
    Posts
    48

    Load xml

    Hi all,


    I am want to xml which is the same directory as that my applicatin.

    If I want to load the xml file using relative path. If i use load it using

    current dirctory relative path (.\\sample.xml ) using load API. But if I am

    trying to load it via parent directory(.\\sample.xml) it is not able to load the

    same xml (Offcourse I am using typecasting to path to bstr before loading)

    Please procure me solution of same.

    Thanks in advance

    Yogesh Khullar

  2. #2
    Join Date
    Sep 2003
    Posts
    21

    Re: Load xml

    I assume it's a typo, but to load using your parent directory, you should be using the string "..\\sample.xml" in C/C++.

    What API are you using?

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