Share via


SetWebPolling

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Simple method that enables or disables Web polling; any non-zero parameter enables online polling. The method is exported by the XLL but is not registered with Microsoft Office Excel as a user-defined macro.

void pascal SetWebPolling(int flag);

Parameters

flag

Any integer value. If non-zero, online polling is enabled. If zero, online polling is disabled and data is retrieved from the static local data tables.

Property Value/Return Value

The method does not return a value.

Remarks

The Visual Basic for Applications (VBA) code in stock.xlam uses the VBA Declare Sub statement to define the method, and calls directly into the XLL.

Example

See \SAMPLES\STOCK\STOCK.CPP for the code for these functions.

See Also

Concepts

Functions in the Stock Web Service DLL