Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List

ITSSS Interface Reference

The Team Sports Scheduling System object. More...

#include <tsssx.idl>

Inherits IDispatch.


Public Methods

HRESULT TSSSURL ([out, retval] BSTR *pVal)
 Get the Team Sports Scheduling System URL. More...

HRESULT TSSSVersion ([out, retval] BSTR *pVal)
 Gets the current version number of the Team Sports Scheduling System. More...

HRESULT openProject ([in] BSTR bstrPath,[out, retval] IProject **ppIProject)
 Opens the specified Scheduling Project and returns the associated IProject. More...


Detailed Description

The Team Sports Scheduling System object.

Use the ITSSS object to open a specific Scheduling Project (.tss) file with the openProject() method. The ITSSS object is the only object you need to explicitly create as in the example below. Notice the Tsss object and Project objects are already created for you when writing a .TRT report or webpage. This object also provides version information and the URL to the Team Sports Scheduling System's web page.

Program ID: TSSSX.TSSS

Example:

    var ITSSS = new ActiveXObject("TSSSX.TSSS");


Member Function Documentation

HRESULT ITSSS::TSSSURL [out, retval] BSTR *    pVal
 

Get the Team Sports Scheduling System URL.

This can be used to provide a link back to the Team Sports Scheduling System's home page on the internet.

Returns:
Returns a String value (BSTR).
Example:
    var ITSSS = new ActiveXObject("TSSSX.TSSS");
    var sURL = "<a href=\"" + ITSSS.TSSSURL + "\">" + ITSSS.TSSSURL + "</a>";
    Response.Write(sURL);

HRESULT ITSSS::TSSSVersion [out, retval] BSTR *    pVal
 

Gets the current version number of the Team Sports Scheduling System.

Use this property to get the version and build number.

Returns:
Returns a String value (BSTR).
Example:
    var ITSSS = new ActiveXObject("TSSSX.TSSS");
    Response.Write(ITSSS.TSSSVersion);

HRESULT ITSSS::openProject [in] BSTR    bstrPath,
[out,retval] IProject **    ppIProject
 

Opens the specified Scheduling Project and returns the associated IProject.

Parameters:
bstrPath  The fully qualified path to the project file on the computer or network.
Returns:
Returns the IProject object if the project was opened, otherwise null.
Example:
    var ITSSS = new ActiveXObject("TSSSX.TSSS");
    var IProject = ITSSS.openProject("c:\\TestProject.tss");
    if (IProject != null)
    {
        // do something with the project
    }


Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List

Copyright © 1996-2007, Galactix Software. All rights reserved.
Questions? Comments? Send email to support@galactix.com