Skip to Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

Working with the Registry

My.Computer provides fast access to Windows Registry. It exposes a Registry property wrapping lots of functionalities of Microsoft.Win32.Registry class for faster work. My.Computer.Registry offers some properties, of type Microsoft.Win32.RegistryKey, representing the most important areas of the Registry, such as HKEY_LOCAL_MACHINE (wrapped by the LocalMachine property), HKEY_ USERS (wrapped by Users), HKEY_CURRENT_USER (wrapped by CurrentUser), and HKEY_CLASSES_ROOT (wrapped by ClassesRoot). All of them provide methods for creating subkeys, querying, deleting, and setting values within subkeys. For example, the following code (which requires an Imports Microsoft.Win32 directive) creates a subkey in the HKEY_CURRENT_USER\Software ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book