-
April 29th, 2004, 05:48 PM
#1
Version Indpendent ProgID from CLSID
Given a CLSID, I'd like to get the version independent ProgID. For example, given a CLSID of:
{0006F03A-0000-0000-C000-000000000046}
I'd like to get back "Outlook.Application". This might boil down to the "VersionIndependentProgID" registry key under the given CLSID. If this is correct, are there any COM methods that would return this value? I'd rather not query the registry for this information because that sounds like a hack. Thanks.
Last edited by sjc; April 29th, 2004 at 05:56 PM.
-
April 29th, 2004, 05:54 PM
#2
I have never used it but ProgIDFromCLSID sounds like it does what you want.
-
April 29th, 2004, 05:57 PM
#3
I just found that now while searching the help, but I'm not sure if it returns the version independent value or not. I'll have to test that.
-
April 29th, 2004, 05:59 PM
#4
Darn !! Was trying to look for some CoGet...blahblah... !!
-
April 30th, 2004, 09:40 AM
#5
yeah, the ProgIDFromCLSID returns the versioned prog id. aside from either string parsing, or doing direct registry access, i dont' know.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|