How to get program start directory after using FileDialog
-
:omg:Hi, I am new to C# and programming in Windows Forms. I use DataSet.ReadXml and DataSet.WriteXml and Save and OpenFileDialog to get the filename. I want to save and read some data from the path that the program starts. In my previous programming language I could easily get the path of the exe file, however Directory.GetCurrentDirectory returns the path that I most recently used in the FileDialog. Is there a Function that returns the path at start of the process (program) Thasnks Ramith Sivanarain
-
:omg:Hi, I am new to C# and programming in Windows Forms. I use DataSet.ReadXml and DataSet.WriteXml and Save and OpenFileDialog to get the filename. I want to save and read some data from the path that the program starts. In my previous programming language I could easily get the path of the exe file, however Directory.GetCurrentDirectory returns the path that I most recently used in the FileDialog. Is there a Function that returns the path at start of the process (program) Thasnks Ramith Sivanarain