Results 1 to 1 of 1

Thread: VB6 - ADOSettings: Alternative to INI & registry

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    VB6 - ADOSettings: Alternative to INI & registry

    ADOSettings is a Class that can be used to persist settings across program runs.

    It uses the same Section & Key metaphor as INI files, but can easily store multiline values and any special character or control character values: the full Unicode character set is supported. The settings are preserved as a persisted ADO Recordset in either XML or ADTG formats.

    These formats are not intended for hand editing like an INI file. The binary ADTG format is somewhat more compact than the XML format.

    The Class is designed to produce a predeclared object named ADOSettings in the global namespace. Thus it can be used in a manner similarly to the intrinsic App object, i.e. without explicitly creating an instance.


    Simply add ADOSetting.cls to new projects and set a reference to ADO 2.1 or later to use it. The Class module contains documentation on the exposed methods and properties.

    The attachment contains the Class in a small sample Project.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width