IBM Cognos. 8 Sample Programs

SamplesCommon.dll - a Solution That Includes Several Handy Classes Used by the Other Samples.

The C# SamplesCommon file provides several handy classes used by the other samples, all in the SamplesCommon namespace:
  BaseClassWrapper    -  a wrapper class for GUI presentation of baseClass objects
  SamplesAbout    -  a simple About dialog box
  SamplesConnect    -  a class for managing connections to the various IBM Cognos Services
  SamplesException    -  a pair of static methods for displaying information about an IBM Cognos exception to the console or in a MessageBox
  SamplesExceptionHelper    -  a class that helps pull out the "interesting" bits of an IBM Cognos exception
  SamplesHeaderExceptionHelper    -  a class that helps pull out the "interesting" bits from a biBusHeader exception
  SamplesInput    -  a simple text input dialog box
  SamplesLogon    -  a simple Logon dialog box
  SamplesPath    -  a simple dialog box that lets you input a search path
  SamplesWindow    -  a simple window used by the samples to display their results

Dependent Files

Not applicable.

How To Run The Sample Program

Not applicable. The classes are used by other sample programs and cannot be run as a standalone program.

Expected Results

Not applicable other thandescribed above when called by a another sample program.

Documentation

The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.

Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.