is there a way to get the image directory path after selecting in file dialog
example C:\\Users\\Admin\\Desktop\\IMG\\pix200.jpg
C:\\Users\\Admin\\Desktop\\IMG\\pix200.jpg
i have a code that
Try to make use of the Path.GetDirectoryName method. Example:
Path.GetDirectoryName
string path = Path.GetDirectoryName(openFD.FileName);