RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.Run Method

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

Pascal
procedure Run;
C++
__fastcall Run();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!