I need to access a list of recently used programs and a list of recently opened files in Windows. These are the items that you usually see as soon as you click start in the windows. I am looking to use C #, but if it is better in Managed C ++, I will do it too.
I think for files you can access the latest directory.
string folderName = Environment.GetFolderPath (Environment.SpecialFolder.Recent); DirectoryInfo recentFolder=new DirectoryInfo(folderName); FileInfo[] files=recentFolder.GetFiles();
If you are writing for Windows 7, you can use the Windows 7 SDK, and you can use Managed C ++.
Source: https://habr.com/ru/post/1717604/More articles:TinyMCE or SmartGWT Rich Text Editor for my GWT application? - javaIs it possible to convert a list of PHP function parameters to an array? - functionWhat is the easiest way to configure a server to read data from incoming socket connections? - objective-cWhat was the first "hobby" programming language? - programming-languages | fooobar.comJava Wi-Fi Information - javaHow to redirect a port to a router using python - pythonUnstructured text analysis in Python - pythonthe database table will not be down (or show its entered data) - sql-serverWPF GradientBrush? - c #In general, reading a well-formed binary is c ++All Articles