| Ole4D Methods | ||||||||||||||
|
OCCreaLinkToFile(p_AreaVar;p_FilePath) Method creates an Ole object linked to a file. The type of the ole object is decided by the operating system during OCCreaLinkToFile method call.Parameters
Return Values The object is created in the inactive state. The user interface of the object like toolbars and menus is not shown at this time. To show the user interface and enable the object call OCActivate. An object linked to a file can not be activated in place. Example
$i := OCCreaLinkToFile(Ole PlugIn,“c:\log.txt”)See Also OCCreaFromFile, OCCreaFromProgId, OCCreaFromCLSID, OCCreaFromBlob, OCDestroyObject, OCActivate | ||||||||||||||