* Retrieve lcRecentFoldrPath from registry * .... * Display contents of recent documents folder lcRecentFile = SYS(2000, ADDBS(lcRecentFoldrPath)+'*.*') ?lcRecentFile Do While !empty(lcRecentFile) lcRecentFile = SYS(2000, ADDBS(lcRecentFoldrPath)+'*.*', 1) ?lcRecentFile EndDoInstead of using the registry you may utilize the CSIDL functions (SHGetSpecialFolderPath, SHGetSpecialFolderLocation, SHGetFolderPath, SHGetFolderLocation), but they are Shell32.dll specific (depend on version of windows and version of IE, so on old OSs w/t old browsers they may not be accessible). Also for SHGetSpecialFolderLocation or SHGetFolderLocation (most recent - since Windows 2000) you will need some structures to call them from VFP. So that you will need to make structures like string and probably will need Struct or ClsHeap
Make solutions, not programs!