string _Path = System.IO.Path.GetDirectoryName(Paht) + "\\filename.xml";
string _Path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\filename.xml";
'Get the Path of Xml file Dim fullPath As String = System.IO.Path.Combine(System.Environment.CurrentDirectory, "YourPath/SomeFile.ext")
string fullPath = System.IO.Path.Combine(System.Environment.CurrentDirectory, "YourPath/SomeFile.ext");
Thanks, A2H My Blog
Login to post response