Size: 1947
Comment:
|
Size: 2408
Comment: Development workspace added
|
Deletions are marked like this. | Additions are marked like this. |
Line 60: | Line 60: |
[[http://aplteam2.com/aplwiki/WinReg?action=AttachFile&do=get&target=WinReg.ZIP | Download right now]] | |
Line 62: | Line 61: |
[[attachment:WinReg.ZIP | Manage the attachment]] | You have two options: you can either download the script for usage: [[http://aplteam2.com/aplwiki/WinReg?action=AttachFile&do=get&target=WinReg.ZIP | Download WinReg script right now]] '''or''' the whole thing, including the development workspace and the script and maybe more for any development or for running the test cases: [[http://aplteam2.com/aplwiki/WinReg?action=AttachFile&do=get&target=WinReg_Dev.ZIP | Download development stuff (including the script)]] If you plan to contribute please note that all stuff published as part of the APLAPL project must follow certain [[AplAplStandards|APLAPL-specific standards]]. |
Line 65: | Line 72: |
CategoryOpenSourceApl CategoryAplApl | CategoryAplApl |
Dealing with the Windows Registry
WinReg is part of the CategoryAplApl project.
Contents
Overview
This class offers methods useful to deal with the Windows Registry without using .NET.
Terminology
To understand the names of the methods you need to understand the terminology. If you find the terminology strange: so do I, but it was invented by Microsoft and got widely accepted. That is the reason why I decided to go for it: it makes it easier to understand others while talking about the Windows Registry.
In this picture:
you can see that this string is visible in the top of the window:
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 12.0 Unicode\AutoComplete
HKEY_CURRENT_USER
This is called a "Main key". There is a particular number of pre-defined main keys available you can choose from. For the most important one from an application programmers view there is also a shortcut available: Instead of HKEY_CURRENT_USER you can use HKCU.
SOFTWARE\Dyalog\Dyalog APL/W 12.0 Unicode
This is called a subkey.
On the right side you see a list. The entries in this list are called "value". CancelKey1 is there a value. The actual data saved under this value is called "data".
Shared Methods
DeleteSubKey DeleteValue DoesKeyExist DoesValueExist GetString GetValue PutString PutValue Version
History
For a full version history: History
Version Information
Original author: |
|
Responsible: |
|
Email: |
|
Current state: |
1.0 |
Download
You have two options: you can either download the script for usage:
Download WinReg script right now
or the whole thing, including the development workspace and the script and maybe more for any development or for running the test cases:
Download development stuff (including the script)
If you plan to contribute please note that all stuff published as part of the APLAPL project must follow certain APLAPL-specific standards.