I use the line below in my C # winform application, this works fine, but sometimes, if the program starts from the command line, I get an error that the config.xml file could not be found. This is because the "working directory" is different (I think), I need to say "load config.xml from the current directory", how would I do it?
docXML.Load("config.xml");
Thanks Jonathan
source share