Click here for NewsObjects Overview
LoadTickerList Method (Quote Control)
Windows - Visual C++


Description
This method adds the list of tickers in the specified file to the quote control.

Syntax
long result = LoadTickerList(LPCTSTR filePath)

The LoadTickerList syntax has these parts:

 Part

Description

result

A long integer indicating the success of the operation. The value of result will be 0 for a successful load of the ticker list and an error code for an unsuccessful operation

FilePath

A String indicating the full path (including file name) of the NewsEdge Ticker File

Remarks
The File specified in FilePath must have an .NTF file extension. If the file does contain a .NTF file extension, an error code will be returned. The NewsEdge Ticker File is a space delimited list of tickers in text format. If LoadTickerList is called before Run(TRUE) is called, the ticker list will be added to the quote control after Run is called.

See also: SaveTickerList Run

Back to: Quote Methods