hi i want to make a stand alone exe that has database functionality.
I have thought about using an xml file as the database, but is their a way that i can bundle the xml file into the exe somehow????
or does the xml file have to be seperate?
if so how can i stop people editing it?
Thanks for your help
Hi,
I am able to understand your problem.
You can add your xml file as embeded resource in .net project. So you no need to bundle the xml file with you project.
1.Add you xml file by using project solution explorer.
Right click on project -> Add Existing item - > Add xml file.
2.Make it as Embeded Resource
Right click on the xml file,select properties and set Build Action as embeded resource.
3.Accessing embeded xml file.
Cheers,
Balaji U