All you need to do in order to get the filename from an OpenDialog in C# is to use this method:
OpenFileDialog.SafeFileName
Example of an OpenFileDialog's FileName attribute: C://fakepath//item.txt
Example of an OpenFileDialog's SafeFileName attribute: item.txt
1 comments:
shop sneaker deals are going great right now, prices are also quite reasonable. Quality is also good and latest styles are also available in every size. Such offers are not available every day, so take advantage of it quickly!
Post a Comment