![]() |
||
| Navigation : Products / AbyssLabs.Settings Component | |||
AbyssLabs.Settings Component
Version number: 1.0.0.25
Last updated: April 10, 2004
License type: Freeware
Component type: In-process COM-server
Threading model: Apartment
ProgId: AbyssLabs.Settings
CLSID: F1E2EDD7-252C-4320-8265-1323918DB7B7
Former name: a1asp.settings (www.a1lab.com)
Product overview
This component provides a way to store application settings in the Windows registry and restore those settings later. This component does not provide an access to the whole registry but to its limited part where application settings can be stored.
Features
Basically, you can do following:
= store application settings in the specific part of the Windows registry
= restore settings from the registry
= enumerate all settings in the given section of the registry
= delete settings from the registry
Functions
To create an instance in VBScript: CreateObject( "AbyssLabs.Settings" )
Save( application_name, section_name, key_name, value ) - saves a value
Read( application_name, section_name, key_name [, default_value] ) - restores a value
AllNames( application_name, section_name ) - returns a collection of all key names of the specified section
Delete( application_name, section_name [, key_name] ) - deletes a single key or whole section
Notes
Using this component, you have not any chance to deal with the registry "outside of" HKEY_CURRENT_USER\Software\VB and VBA Program Settings.
This component has Apartment threading model. For ASP/IIS programmers that means following:
= this component can be created in page, session, and application scope
= in an application scope only <OBJECT ...> notation can be used
= the page scope is highly recommended due to lack of performance in other cases
In such NT-based operating systems as Windows NT/2000/XP, each user profile has its own isolated part of the registry referred by HKEY_CURRENT_USER. That means that application settings which were stored by one user, can not be available for second one.
Especially for IIS users: by default, IIS runs under SYSTEM account but not under Administrator or under an account of somebody else.
Just in case: this component provides an access to the local registry only. Do not try to read the remote computer registry - it does not work.
Documentation and Sample code
Following files are provided:
= readme.txt containing a programmer's manual for this component
= some sample scripts written in VBScript are available in the Installation path\Tests folder
Installation procedure
The installation package contains a usual installation program that installs the component itself, all required libraries, and documentation files. A default installation folder is C:\Program files\AbyssLabs\Settings.
Technical support
The technical support is available via e-mail only. Due to freeware nature of this component, the support has a low priority. Therefore please be patient and provide us 3-4 days to respond.
License
Copyright (C) 2004, Alexander Popkov @ www.abysslabs.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Download
= abysslabs.settings.1.0.0.25.zip
= file size: 1384 KB
= MD5 signature: 7c348f386622f3f3f44d7a840f14ecdd
Source code
Need a source code of this component? It's done in Microsoft Visual Basic 6.
You can buy it for a nominal fee $9.95
Directories
Looking for more components? Check out these directories:
| Copyright © Alexander Popkov @ www.abysslabs.com, 2004. All rights reserved. |
|
Top ^ | |||