I have a problem with using the OpenFileDialog object and datasets. Whenever I use the OpenFileDialog when the application is in run mode, it will change the current working directory of all datasets in use. So if I use a relative path when reading an XML file into the dataset, that path will change to the last folder browsed using the OpenFileDialog. This will cause an error when I go to use dataset.WriteXml() because the path has changed. Can someone please tell me a work around for this problem?