Change Desktop Settings Via the Registry

Category:
Registry
Type:
Snippets
Difficulty:
Intermediate
Author:
Anuj Mehta

Version Compatibility: Visual Basic 6

More information:
This code is from a "registry wizard" application I am working on. It is used to perform tasks such as hide/unhide desktop icons,remove favorites menu from the start menu and disable the shut down windows option.(I will be adding some more options ASAP.)

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: