User Tools

Site Tools


validateole_validate_ole_control_creation.htm
Navigation:  Advanced Topics > Clarion Language Utilities >====== ValidateOLE (Validate OLE Control Creation) ====== Previous pageReturn to chapter overviewNext page

VALIDATEOLE( OLEControl, <; OLEFileName> , <;OLECreateName> )

blk2blue.jpg

VALIDATEOLE Validate that an OLE control has been successfully created
OLEControl A field number or field equate label of the OLE control.
OLEFileName (under construction)
OLECreatename (under construction)

VALIDATEOLE is used to verify that an OLE control has been created successfully. VALIDATEOLE returns TRUE if the OLE control has been successfully created.

If not successful, VALIDATEOLE can optionally display a message box that describes why the OLE control could not be created, provided that the OLEFilename parameter is passed, and then returns FALSE. Otherwise, VALIDATEOLE just returns FALSE if only the OLEControl is designated.

To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program:

INCLUDE('CWUTIL.INC'),ONCE

Return Data Type:     BYTE

Example:

LOC:OLEActive = VALIDATEOLE( ) !is a remote session active?

validateole_validate_ole_control_creation.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1