1

It seems that my application is remembering previously saved/opened files. How can clear the recent history and prevent the application from keeping track of saved/opened files in the future?

I want to be able to do this from the application, without requiring client involvement.

I suppose that the information is saved to the registry.

IneedHelp
  • 1,630
  • 1
  • 27
  • 58
  • In my perspective, I would not recommend an application which can clear the OS history or plays with registry. It might cause a security violation in the user environment or network. As file dialog is the windows provided it remembers the last access path and all. I would suggest you to provided your own dialog if you don't want expose the recent items to the user. – Priyank Thakkar Sep 06 '12 at 12:39

2 Answers2

0

Where is recently opened files

And then delete them: How to delete a registry value in C#

Community
  • 1
  • 1
cdmnk
  • 314
  • 1
  • 11
0

just: openfiledialog.FileName = "";

emin
  • 1