new COM ("Application.ID")

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
shabbirh
Forum Newbie
Posts: 1
Joined: Sun May 03, 2009 3:00 am

new COM ("Application.ID")

Post 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
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: new COM ("Application.ID")

Post 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.
Post Reply