This is a discussion on COM functions in php within the PHP Programming forums, part of the Web Development category; com_propput com_propput -- Alias of com_set() Note: This function does not exist in PHP 5; instead, you should use the regular ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| com_propput com_propput -- Alias of com_set() Note: This function does not exist in PHP 5; instead, you should use the regular and more natural OO syntax to access properties or call methods.
__________________ Thanks & Regards, R.Kamalakannan. |
| Sponsored Links |
| |||
| com_propset com_propset -- Alias of com_set() Note: This function does not exist in PHP 5; instead, you should use the regular and more natural OO syntax to access properties or call methods.
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| com_get_active_object com_get_active_object -- Returns a handle to an already running instance of a COM object Syntax: variant com_get_active_object ( string progid [, int code_page] ) com_get_active_object() is similar to creating a new instance of a COM object, except that it will only return an object to your script if the object is already running. OLE applications use something known as the Running Object Table to allow well-known applications to be launched only once; this function exposes the COM library function GetActiveObject() to get a handle on a running instance. progid must be either the ProgID or CLSID for the object that you want to access (for example Word.Application). code_page acts in precisely the same way that it does for the COM class. If the requested object is running, it will be returned to your script just like any other COM object. Otherwise a com_exception will be raised. There are a variety of reasons why this function might fail, the most common being that the object is not already running. In that situation, the exception error code will be MK_E_UNAVAILABLE; you can use the getCode method of the exception object to check the exception code.
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| can you give some sample in DCOM using PHP?
__________________ With, J. Jeyaseelan Everything Possible |
| |||
| The COM class allows you to instantiate an OLE compatible COM object and call its methods and access its properties. syntax:- $obj = new COM("Application.ID") |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP FTP Functions | Kamalakannan | PHP Programming | 54 | 04-14-2008 04:42 AM |
| Sql functions | itbarota | Database Support | 11 | 02-29-2008 01:08 AM |
| What are encryption functions in PHP? | Sabari | PHP Programming | 2 | 09-17-2007 08:53 AM |
| What are Virtual Functions? How to implement virtual functions in "C"? | Sabari | C and C++ Programming | 4 | 09-10-2007 10:35 PM |
| Imagemagick functions | Sivamurugan | PHP Programming | 4 | 09-09-2007 10:51 PM |