Custom COM Objects and Modules
The LitWare designers define objectives for the new components that will support PT application functionality, and they divide the tasks components will perform into related units that readily translate into Visual Basic® class modules and modules. The following topics describe these objectives and modules:
- Requirements of the PT Components describes guidelines the design team followed when creating components specific to the PT application and components for general use; for example, the NLS component includes features that make it useful for any application requiring localization.
- Data Access Component describes another general-use component. Any application can use the data access component to access any SQL Server™ 7.0 database. This component is implemented as SQLXML in Litware.dll.
- MTSEnvironment Module describes a module that is derived from a component that was created for another application, the Corporate Media Library, featured in Scenario 1 of the BDG.
- NLS Component describes the component that transforms locale-sensitive data to and from the user interface.This component is implemented as Formats in NLS.dll.
- Search Component describes the component that transforms a user's search criteria into a string that can be used by a full-text search.
- Lingo Component describes the component that handles tasks such as matching the user's language preferences with the languages provided by the PT application and building locale-specific versions of the application.