Click here to Skip to main content
12,554,005 members (60,026 online)

how to include the seperate .xml files in to the vc++ solution

Kumar 09 asked:

Open original thread

I implemented an vc++ application in vs2010, where i am retrieving the data from .xml files for stock maintenance.

1) So when i run my application in Debug/Release mode i can retrieve data from .xml files, where as when i run my application through a web browser it is unable to retrieve data from .xml files and the application is not responding and struck.

2) If i run the same application in other computer it asks for these .xml files, so i added these .xml files in the folder where the application.exe is there. Then it is running fine.

What is the problem and where i am doing wrong i am bit confusion.

1) is there any way, where i can include these .xml files in to the solution directly. So that it wont create any problem if i execute the .exe from web browser or from other computer.

can anyone guide me on this.

Thank u in advance.
Tags: VisualC++


When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the The Code Project Open License (CPOL).

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 26 Mar 2009
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100