Smart Systems Software

Smart tools for smart developers

Home         Technical Support         Free Software        

Smart Systems Library ActiveX dll description

The Smart Systems Library consists of approximately 25 routines comprised from 4 custom control classes: SmartFunction, SmartSearch, SmartSort and SmartStatistics. The Smart Systems Library also provides several custom data types and enumerations plus an additional class, SmartFormat, which provides custom formatting of file system objects.

All object classes are declared for global multi use. This makes them appear as if they are a natural extension of the Visual Basic programming environment, so no class object or routine has to be declared. Routines are implemented like native Visual Basic routines - simply write the routine name to use it.  

When you add the Smart Systems Library to your Visual Basic programming environment it is automatically added to the Object Browser, where each and every routine in every object class is completely defined, along with custom data types and enumerations.



Class SmartFunction

Dec- Decrements a number by a specified integral amount.

Inc- Increments a number by a specified integral amount.

InCount - Returns the number of files or folders containing a specified file attribute(s).

InDir - Returns a filename containing a specified file attribute(s).

IsIn, IsInList, IsInText - Routines designed to work in place of the intrinsic Visual Basic InStr function for code optimization.

IsExact - Returnds True if all values in a list match a given value.

IsLike - Returns True if a given value exists within a list of values.

ItsEmpty - Returns True if a given variable equals its default value for any standard data type or collection having a zero count.

Pause - Pauses the operating system a specified number of milliseconds.


Class SmartSearch

Search - Returns a file or list of files matching given file criteria.


Class SmartSort

Sort - Sorts a given list, ascending or descending.

The Sort routine is very flexible as it supports any intrinsic data type: Byte, Integer, Long, Single, Double, Currency, Date,
String, or Variant. The Sort routine also supports any custom SmartRecord structure types which provide sorting with
variant keys or numbered indexes.


Class SmartStatistics

ArrayCount - Returns the number of items in a given list or 0 if the list is empty.

IsEven - Returns True if a given number is even or if a given list has an even number of items.

IsOdd - Returns True if a given number is odd or if a given list has an odd number of items.

Minimum - Returns the minimum value in a given list.

Maximum - Returns the maximum value in a given list.

Mean - Returns the mean value in a given list.

Median - Returns the median value in a given list.

StdDev - Returns the Standard Deviation of a given list.

Sum - Returns the sum of a given list. For lists of Date data type, returns the number of dates in the list.



The Smart Systems Library comes with a demonstration program containing code samples for each and every routine
in the library.