Page 1 of 1

new COM ("Application.ID")

Posted: Sun May 03, 2009 3:09 am
by shabbirh
Hi,

i'm new with PHP. I would like to know more about this Class 'new COM("Application.ID")'; what is "Application.ID" here? how can i find this application id of an software if i want to use one of the installed application in windows.

Please help me if anyone have knowledge about it.

Regards
Shabbir

Re: new COM ("Application.ID")

Posted: Thu May 07, 2009 10:41 am
by kaisellgren
It is the program ID of the component you want to load.

For example, http://msdn.microsoft.com/en-us/library ... S.85).aspx

I want to load that component,

Code: Select all

$capi = new COM('CAPICOM.Utilities.1');
In the end of the page they say:
Remarks
The Utilities object can be created, and it is safe for scripting. The ProgID for the Utilities object is CAPICOM.Utilities.1.