Vcl.OleCtnrs.TOleContainer.Run

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Run;

C++

void __fastcall Run(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Runs the OLE object's server application, but doesn't open or activate the OLE object itself.

Call Run to ensure that the server application is running. Once the server application is running, opening and activating the OLE object happens much more quickly. An OLE object must already be loaded in the container before calling Run, Otherwise, Run raises an exception.

See Also