Home Site Map Search Contact Us About Us About Us
Copyright © 2000
Samples
Up Projects Samples

Development Samples

Java NT Service

This application is an NT service that make COM objects, written in any language, behave as a service. The COM objects are created on separate threads that run in the multi-threaded apartment, so each COM object can act independently of the both the service and the other objects. This enables Visual Basic programmers to simply create a COM object with an embedded timer and have it act as an NT service by implementing SvcStart, SvcStop, SvcPause, and SvcContinue methods.

Java Library

This is a library of J++ classes that provide database access, generic tracing and messaging, and time type conversions.

Java Data Access

This class aggregates data from 2 ORACLE databases, and loads it into a third ORACLE database. It uses ADO to retrieve the data from 2 databases and then combines it into an ADO recordset, which is custom built by the class. This allows any COM compliant development tool, such as Visual Basic, to use this object to retrieve data from and load data into ORACLE databases.  Prepared SQL statements that directly access the ORACLE bind variables are used for high speed access.

C++ Security Object

This object provides access to the NT security API's to enable ASP scripts and other COM compliant containers to determine the SID of the current user, their full name, and what global and local groups the user belongs to in any trusted domain.

JavaScript Real-time Calculations

This JavaScript/JScript is run once a minute as part of a real-time process data collection system.  The script must recover from any error it encounters so that it will run when the next cycle occurs.  The script features extensive message logging and error reporting.

Visual Basic Web Utility Object

This object provides access to various NT API's to enable ASP scripts and other COM compliant containers to use many system services. This object pushes VB to its limits!

Visual Basic Data Access

This class demonstrates using VB to access an ORACLE database using high speed prepared queries and generic methods that mimick the MS Access query syntax to make it easy for developers to select data from a table using any conditions.

VBScript Process Maintenance

This VBScript manages SQR processes to generate reports as it is called from a scheduler.  The script demonstrates an extensive message logging and error reporting system as well as creating synchronous processes from VBScript.

SQR Reporting Library

This library is used by approximately 1000 SQR report programs running as part of a real-time data collection and distribution system.  A sample report program using some of the library functions is presented after the library code in the sample.

UNIX Process Maintenance

This script looks up ports in the services file, reads a config file, and starts, stops, and checks/restarts UNIX processes.