Is it possible to get a running instance of a component ?

by Nithya 2010-01-20 15:38:36

This is possible with the help of monikers. If you want to get multiple references to the same word instance you can create that instance like shown:

Arrow

$word = new COM("C:docsword.doc");
?>


This will create a new instance if there is no running instance available or it will return a handle to the running instance, if available.

Tagged in:

846
like
0
dislike
0
mail
flag

You must LOGIN to add comments