PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Initializing a list with the OLE servers
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
OLEServer (Function)
In French: OLEServeur
Lists the OLE servers registered toward the current system.
Example
// Initialize the list with the available OLE servers
ListAdd(LIST_OLESERV, OLEServer())
// Retrieve the server to start
Choice is string
Sub is int = ListSelect(LIST_OLESERV)
Choice = LIST_OLESERV[Sub] + TAB
Choice = ExtractString(Choice, 2)
OLECreateEmpty(OLE_OLE1, Choice)
Syntax
<Result> = OLEServer()
<Result>: Character string
  • List of the OLE servers presented in the following format:
    <Description 1> + TAB + <Name of Server 1> + <CR>+ ... + CR + <Description N> + TAB + <Name of Server N>
    Then, the name of the server can be used in OLECreateEmpty.
    Note: the list of servers may contains empty strings (to delete if necessary).
  • Empty string ("") if an error occurred.
Remarks

Initializing a list with the OLE servers

To fill a list box or a combo box with the list of OLE servers, use ListAdd. The following syntax must be used:
ListAdd(<List Name>,OLEServer())

Various

Only OLE version 1 is supported.
Components
WINDEVReports and Queries wd230ole.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment