How to ditribute xml files with dll
-
I'm writing a class project in visual studio 2003. Part of the data used by the classes is stored in xml files that the user will be able to edit. The classes are used by other applications and an end user could have more than one of these applications on their machine. How do I distribute the classes so that they know where to find the xml data files every time and they are only saved once. I had originally used the Application.StartupPath to find the folder where the class dll file is stored but, when I create another application the value returned by Application.StartupPath doesn't return the folder where the xml data files are stored it returns (quite rightly) the folder of the original application. Any idea on how I go about distributing and accessing these xml files? Any help would be gratefully received as this is a project I intend to open up on a 'do-what-you-want' licence without copyright and for all to use. Thanks in advance An optimist's glass is half full. A pesimist's glass is half empty. An engineer goes and gets the right size glass.