VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

RecentDocList Retriever

Tom Pydeski  (16 Submissions)   Registry   VB Script   Intermediate   Wed 3rd February 2021

Updated 12/28/2004
Added the ability to delete all values in a selected node.
Also added the typedURLs key and runMRU key
'This Program will read the Recent Doc List located in the registry at:
'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs
'This data is stored in a binary format, so we have to read the binary data into
'a byte array and build it into strings.
'As with all of my submissions, I have utilized code found on VBC and elsewhere
'for various functions, but the rest was written by me.
'Special thanks to Kegham, whose Winstartup 2004 project had some valuable code
'for enumerating and walking through registry keys and for some treeview pointers
'and to MrBoBo who also had some very useful code for the registry
'also to David Sykes for his XP style module that i have implemented in all
'of my projects for that XP Look
'once the key values are loaded into the list, pressing delete will delete the selected
'entry from the registry.
'

Inputs
Select the Desired subkey within the RecentDocs Key (Binary Info)

Assumes
'Disclaimer: 'THIS PROGRAM ACCESSES AND MODIFIES ENTRIES IN THE REGISTRY! 'I tested it only on my machine, which is windows XP service pack 2 'I am not responsible for any bad things that may happen due to the 'use of this program ''As with all software using the registry 'BACKUP your registry before using 'This ran fine on my machine and the only thing it deletes are the 'binary entries for the recent doc list

Returns
The converted string value

Side Effects
It is the registry....so please be careful!

API Declarations
see code

Rate RecentDocList Retriever (4(4 Vote))

Download RecentDocList Retriever

RecentDocList Retriever Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters