PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Initializing a List Box control 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 Box control 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 Box control with the OLE servers

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

Various

Only OLE version 1 is supported.
Component : wd240ole.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment